diff options
author | Jeix <devnull@localhost> | 2011-06-30 18:23:10 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2011-06-30 18:23:10 +0200 |
commit | bee1ec5261be11fb7d09ad6c5eecb0da02c25e85 (patch) | |
tree | 60f4d582a6467ec4058115141650a799a3f54d5e | |
parent | fixed #336 megavideo (diff) | |
download | pyload-bee1ec5261be11fb7d09ad6c5eecb0da02c25e85.tar.xz |
cleanup
-rw-r--r-- | module/PluginThread.py | 12 | ||||
-rw-r--r-- | module/plugins/Plugin.py | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index 1cb1dd8ea..5f311aa07 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -153,13 +153,13 @@ class DownloadThread(PluginThread): self.m.core.hookManager.downloadStarts(pyfile) pyfile.plugin.preprocessing(self) - # except NotImplementedError: + except NotImplementedError: - # self.m.log.error(_("Plugin %s is missing a function.") % pyfile.pluginname) - # pyfile.setStatus("failed") - # pyfile.error = "Plugin does not work" - # self.clean(pyfile) - # continue + self.m.log.error(_("Plugin %s is missing a function.") % pyfile.pluginname) + pyfile.setStatus("failed") + pyfile.error = "Plugin does not work" + self.clean(pyfile) + continue except Abort: try: diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 2ed83a64a..9caf4d81a 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -159,7 +159,6 @@ class Plugin(object): #---------------------------------------------------------------------- def process(self, pyfile): """the 'main' method of every plugin, you **have to** overwrite it""" - print "mmh:(" raise NotImplementedError def resetAccount(self): |