change the pluginmanager component name to Web.PluginManager

This commit is contained in:
Damien Churchill 2009-08-03 19:21:53 +00:00
parent e496fda499
commit 76587be1a7
2 changed files with 4 additions and 4 deletions

View File

@ -131,12 +131,12 @@ class JSON(resource.Resource, component.Component):
"""
d = client.daemon.get_method_list()
d.addCallback(on_get_methods)
component.get("PluginManager").start()
component.get("Web.PluginManager").start()
_d.addCallback(on_client_connected)
return d
def _on_client_disconnect(self, *args):
component.get("PluginManager").stop()
component.get("Web.PluginManager").stop()
def _exec_local(self, method, params):
"""

View File

@ -44,7 +44,7 @@ log = logging.getLogger(__name__)
class PluginManager(PluginManagerBase, Component):
def __init__(self):
Component.__init__(self, "PluginManager")
Component.__init__(self, "Web.PluginManager")
self.config = ConfigManager("web.conf")
PluginManagerBase.__init__(self, "web.conf", "deluge.plugin.web")