Commit 72c4b07e authored by Denis Bilenko's avatar Denis Bilenko

monkey: in patch_os() expect that fork() may be not available

parent e7a1eb04
......@@ -6,7 +6,10 @@ noisy = True
def patch_os():
try:
from gevent.hub import fork
except ImportError:
return
import os
os.fork = fork
......
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