Commit b2617e28 authored by Denis Bilenko's avatar Denis Bilenko

gevent.__init__.py: properly import greenlet when it isn't from py.magic

parent 69d12f6d
......@@ -3,7 +3,16 @@ import os
import traceback
from gevent import core
from py.magic import greenlet
try:
from py.magic import greenlet
Greenlet = greenlet
except ImportError:
import greenlet
Greenlet = greenlet.greenlet
getcurrent = greenlet.getcurrent
GreenletExit = greenlet.GreenletExit
version_info = (0, 9, 0)
__version__ = '0.9.0'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment