Commit d45e794b authored by Denis Bilenko's avatar Denis Bilenko

os: fix AttributeError on Windows (os.fork)

parent ca9d8cea
......@@ -22,7 +22,6 @@ __all__ = __implements__
_read = os.read
_write = os.write
_fork = os.fork
ignored_errors = [EAGAIN, errno.EINTR]
......@@ -121,6 +120,7 @@ else:
if hasattr(os, 'fork'):
_fork = os.fork
def fork():
result = _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