From bee1ec5261be11fb7d09ad6c5eecb0da02c25e85 Mon Sep 17 00:00:00 2001 From: Jeix Date: Thu, 30 Jun 2011 18:23:10 +0200 Subject: cleanup --- module/PluginThread.py | 12 ++++++------ module/plugins/Plugin.py | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'module') 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): -- cgit v1.2.3