From 81508f295cffc40c479fe72f24bdf1dbbedf5d92 Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 5 May 2010 23:03:43 +0200 Subject: refactored plugins, new plugin manager --- module/plugins/hooks/ContainerDownload.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'module/plugins/hooks/ContainerDownload.py') diff --git a/module/plugins/hooks/ContainerDownload.py b/module/plugins/hooks/ContainerDownload.py index f520b705c..673931391 100644 --- a/module/plugins/hooks/ContainerDownload.py +++ b/module/plugins/hooks/ContainerDownload.py @@ -23,15 +23,11 @@ from module.plugins.Hook import Hook from os.path import join, abspath class ContainerDownload(Hook): - def __init__(self, core): - Hook.__init__(self, core) - props = {} - props['name'] = "ContainerDownload" - props['version'] = "0.1" - props['description'] = """add the downloaded container to current package""" - props['author_name'] = ("mkaay") - props['author_mail'] = ("mkaay@mkaay.de") - self.props = props + __name__ = "ContainerDownload" + __version__ = "0.1" + __description__ = """add the downloaded container to current package""" + __author_name__ = ("mkaay") + __author_mail__ = ("mkaay@mkaay.de") def downloadFinished(self, pyfile): filename = pyfile.status.filename -- cgit v1.2.3