Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
    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
Ejemplo n.º 3
0
 def __init__(self, core):
     PluginThread.__init__(self, core)
     self.plugin = None
Ejemplo n.º 4
0
 def __init__(self, core):
     PluginThread.__init__(self, core)
     self.plugin = None