diff options
Diffstat (limited to 'pyload/manager/thread/Plugin.py')
-rw-r--r-- | pyload/manager/thread/Plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/manager/thread/Plugin.py b/pyload/manager/thread/Plugin.py index 1e7d7b4e4..155e687d4 100644 --- a/pyload/manager/thread/Plugin.py +++ b/pyload/manager/thread/Plugin.py @@ -23,7 +23,6 @@ from pyload.api import OnlineStatus class PluginThread(Thread): """abstract base class for thread types""" - #-------------------------------------------------------------------------- def __init__(self, manager): """Constructor""" Thread.__init__(self) @@ -70,6 +69,7 @@ class PluginThread(Thread): self.m.core.log.info("Debug Report written to %s" % dump_name) + def getDebugDump(self, pyfile): dump = "pyLoad %s Debug Report of %s %s \n\nTRACEBACK:\n %s \n\nFRAMESTACK:\n" % ( self.m.core.api.getServerVersion(), pyfile.pluginname, pyfile.plugin.__version, format_exc()) @@ -124,6 +124,7 @@ class PluginThread(Thread): return dump + def clean(self, pyfile): """ set thread unactive and release pyfile """ self.active = False |