[pypy-commit] pypy default: Windows fix.
arigo
noreply at buildbot.pypy.org
Fri Aug 12 11:08:26 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r46457:ef144fea1299
Date: 2011-08-12 09:55 +0200
http://bitbucket.org/pypy/pypy/changeset/ef144fea1299/
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