Merge pull request #648 from wolever/patch-1

Fix "global name 'hub' is not defined"
This commit is contained in:
Benoit Chesneau 2013-11-25 20:37:19 -08:00
commit 88abcc73d9

View File

@ -188,7 +188,7 @@ class GeventWorker(AsyncWorker):
self.patch()
# reinit the hub
from gevent.hub import reinit
from gevent import hub
hub.reinit()
# then initialize the process