[py-svn] r12572 - py/dist/py/execnet
arigo at codespeak.net
arigo at codespeak.net
Thu May 19 21:11:44 CEST 2005
Author: arigo
Date: Thu May 19 21:11:44 2005
New Revision: 12572
Modified:
py/dist/py/execnet/inputoutput.py
Log:
Using f.close() instead of os.close(f.fileno()). The file descriptor might be
already gone, in some situations, though I don't know if this situation can
occur here. The tests are still happy...
Modified: py/dist/py/execnet/inputoutput.py
==============================================================================
--- py/dist/py/execnet/inputoutput.py (original)
+++ py/dist/py/execnet/inputoutput.py Thu May 19 21:11:44 2005
@@ -90,9 +90,9 @@
def close_read(self):
if self.readable:
- os.close(self.infile.fileno())
+ self.infile.close()
self.readable = None
def close_write(self):
if self.writeable:
- os.close(self.outfile.fileno())
+ self.outfile.close()
self.writeable = None
More information about the pytest-commit
mailing list