예제 #1
0
파일: stubs.py 프로젝트: zach-morris/pyload
 def debug_report(self):
     if hasattr(self, 'file'):
         dump = PluginThread.debug_report(
             self, self.plugin.__name__, file=self.file)
     else:
         dump = PluginThread.debug_report(
             self, self.plugin.__name__, plugin=self.plugin)
     return dump
예제 #2
0
파일: stubs.py 프로젝트: shanhaiying/pyload
    def write_debug_report(self):
        if hasattr(self, "pyfile"):
            dump = PluginThread.write_debug_report(
                self, self.plugin.__name__, pyfile=self.pyfile)
        else:
            dump = PluginThread.write_debug_report(
                self, self.plugin.__name__, plugin=self.plugin)

        return dump
예제 #3
0
 def __init__(self, core):
     PluginThread.__init__(self, core)
     self.plugin = None
예제 #4
0
파일: stubs.py 프로젝트: vuolter/pyload
 def __init__(self, core):
     PluginThread.__init__(self, core)
     self.plugin = None