[pypy-commit] pypy release-1.6.x: Windows fix.

arigo noreply at buildbot.pypy.org
Fri Aug 12 11:08:27 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: release-1.6.x
Changeset: r46458:59a8ee6ba249
Date: 2011-08-12 09:55 +0200
http://bitbucket.org/pypy/pypy/changeset/59a8ee6ba249/

Log:	Windows fix.

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)


More information about the pypy-commit mailing list