Author: andar
Revision: 5072
Log:
Fix typo
Diff:
Modified: trunk/deluge/ui/client.py
===================================================================
--- trunk/deluge/ui/client.py 2009-04-17 21:09:14 UTC (rev 5071)
+++ trunk/deluge/ui/client.py 2009-04-17 21:24:49 UTC (rev 5072)
@@ -318,13 +318,13 @@
is emitted from the daemon
"""
- if event not in self.factory.event_handlers:
+ if event not in self.__factory.event_handlers:
# This is a new event to handle, so we need to tell the daemon
# that we're interested in receiving this type of event
self.event_handlers[event] = []
self.call("daemon.set_event_interest", [event])
- self.factory.event_handlers[event].append(handler)
+ self.__factory.event_handlers[event].append(handler)
def deregister_event_handler(self, event, handler):
"""
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---