MCPcopy Index your code
hub / github.com/pyload/pyload / run

Method run

module/PluginThread.py:455–472  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

453 pyfile.finishIfDone()
454
455 def run(self):
456 try:
457 try:
458 self.kwargs["thread"] = self
459 self.f(*self.args, **self.kwargs)
460 except TypeError, e:
461 #dirty method to filter out exceptions
462 if "unexpected keyword argument 'thread'" not in e.args[0]:
463 raise
464
465 del self.kwargs["thread"]
466 self.f(*self.args, **self.kwargs)
467 finally:
468 local = copy(self.active)
469 for x in local:
470 self.finishFile(x)
471
472 self.m.localThreads.remove(self)
473
474
475class InfoThread(PluginThread):

Callers

nothing calls this directly

Calls 2

finishFileMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected