Explorar el Código

bug in __init__

Evgeniy hace 9 años
padre
commit
54049ea21c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/eventlet/bulk_task_producer.py

+ 1 - 1
examples/eventlet/bulk_task_producer.py

@@ -10,7 +10,7 @@ class Receipt(object):
     result = None
 
     def __init__(self, callback=None):
-        self.callback = None
+        self.callback = callback
         self.ready = Event()
 
     def finished(self, result):