Permalink
Browse files

Moved the gevent import later as it's causing gunicorn to fail to loa…

…d when using this example hook.
  • Loading branch information...
1 parent 30ba194 commit 8e1bab434e8584075b9082df886ccd8d2fbe7e95 @tmc tmc committed with Sep 13, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 examples/example_gevent_reloader.py
@@ -1,4 +1,3 @@
-import gevent
import logging
import os
import signal
@@ -27,5 +26,5 @@ def monitor():
break
gevent.sleep(1)
- gevent.Greenlet.spawn(monitor)
-
+ import gevent
+ gevent.spawn(monitor)

0 comments on commit 8e1bab4

Please sign in to comment.