Commits

Denis Bilenko  committed 68b40aa

os: fix AttributeError on Windows (os.fork)

  • Participants
  • Parent commits 9946460

Comments (0)

Files changed (1)

File gevent/os.py

 
 _read = os.read
 _write = os.write
-_fork = os.fork
 
 
 ignored_errors = [EAGAIN, errno.EINTR]
 
 
 if hasattr(os, 'fork'):
+    _fork = os.fork
 
     def fork():
         result = _fork()