Author: damoxc
Revision: 4917
Log:
use super instead
Diff:
Modified: trunk/deluge/plugins/pluginbase.py
===================================================================
--- trunk/deluge/plugins/pluginbase.py 2009-03-22 21:03:24 UTC (rev 4916)
+++ trunk/deluge/plugins/pluginbase.py 2009-03-22 23:36:45 UTC (rev 4917)
@@ -34,17 +34,17 @@
class CorePluginBase(PluginBase):
def __init__(self, plugin_name):
- component.Component.__init__(self, "CorePlugin." + plugin_name)
+ super(PluginBase, self).__init__("CorePlugin." + plugin_name)
# Register RPC methods
component.get("RPCServer").register_object(self, plugin_name.lower())
log.debug("CorePlugin initialized..")
class GtkPluginBase(PluginBase):
def __init__(self, plugin_name):
- component.Component.__init__(self, "GtkPlugin." + plugin_name)
+ super(GtkPluginBase, self).__init__("GtkPlugin." + plugin_name)
log.debug("GtkPlugin initialized..")
class WebPluginBase(PluginBase):
def __init__(self, plugin_name):
- component.Component.__init__(self, "WebPlugin." + plugin_name)
+ super(WebPluginBase, self).__init__("WebPlugin." + plugin_name)
log.debug("WebPlugin initialized..")
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---