Fix NameError in eventlet.green.os, thanks to David Ziegler. Fixes #53.
This commit is contained in:
3
AUTHORS
3
AUTHORS
@@ -49,4 +49,5 @@ Thanks To
|
||||
* Benoit Chesneau, bug report on green.os and patch to fix it
|
||||
* Slant, better iterator implementation in tpool
|
||||
* Ambroff, nice pygtk hub example
|
||||
* Michael Carter, and Marcin Bachry, nice repro of a bug and good diagnosis leading to the fix
|
||||
* Michael Carter, and Marcin Bachry, nice repro of a bug and good diagnosis leading to the fix
|
||||
* David Ziegler, reporting issue #53
|
@@ -72,7 +72,7 @@ def waitpid(pid, options):
|
||||
if options & os_orig.WNOHANG != 0:
|
||||
return __original_waitpid__(pid, options)
|
||||
else:
|
||||
new_options = options | os.WNOHANG
|
||||
new_options = options | os_orig.WNOHANG
|
||||
while True:
|
||||
rpid, status = __original_waitpid__(pid, new_options)
|
||||
if status >= 0:
|
||||
|
Reference in New Issue
Block a user