bug
authorforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 19:41:32 +0000 (19:41 +0000)
committerforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Wed, 15 Jun 2011 19:41:32 +0000 (19:41 +0000)
git-svn-id: svn://forre.st/p2pool@1290 470744a7-cac9-478e-843e-5ec1b25c69e8

util.py

diff --git a/util.py b/util.py
index 9ad935f..844448f 100644 (file)
--- a/util.py
+++ b/util.py
@@ -38,7 +38,7 @@ class Event(object):
     
     def watch_one_time(self, func):
         id = self.id_generator.next()
-        self.one_timeobservers[id] = func
+        self.one_time_observers[id] = func
         return id
     def unwatch_one_time(self, id):
         self.one_time_observers.pop(id)