[py-svn] r50645 - py/trunk/py/tool

arigo at codespeak.net arigo at codespeak.net
Tue Jan 15 18:46:56 CET 2008


Author: arigo
Date: Tue Jan 15 18:46:55 2008
New Revision: 50645

Modified:
   py/trunk/py/tool/utestconvert.py
Log:
Fix for "utestconvert.py < input".


Modified: py/trunk/py/tool/utestconvert.py
==============================================================================
--- py/trunk/py/tool/utestconvert.py	(original)
+++ py/trunk/py/tool/utestconvert.py	Tue Jan 15 18:46:55 2008
@@ -225,7 +225,7 @@
 
     if not args:
         s = ''
-        for block in blocksplitter(sys.stdin.read()):
+        for block in blocksplitter(sys.stdin):
             s += rewrite_utest(block)
         sys.stdout.write(s)
 



More information about the pytest-commit mailing list