Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r46461:0490a2d34f8e
Date: 2011-08-12 11:22 +0200
http://bitbucket.org/pypy/pypy/changeset/0490a2d34f8e/
Log: merge default
diff --git a/pypy/module/posix/app_posix.py b/pypy/module/posix/app_posix.py
--- a/pypy/module/posix/app_posix.py
+++ b/pypy/module/posix/app_posix.py
@@ -315,7 +315,7 @@
self._proc = proc
def close(self):
self._stream.close()
- return self._proc.wait()
+ return self._proc.wait() or None # 0 => None
__del__ = close
def __getattr__(self, name):
return getattr(self._stream, name)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit