[pypy-svn] r71535 - pypy/trunk/pypy/tool

arigo at codespeak.net arigo at codespeak.net
Sat Feb 27 16:56:46 CET 2010


Author: arigo
Date: Sat Feb 27 16:56:45 2010
New Revision: 71535

Modified:
   pypy/trunk/pypy/tool/logparser.py
Log:
Oups.


Modified: pypy/trunk/pypy/tool/logparser.py
==============================================================================
--- pypy/trunk/pypy/tool/logparser.py	(original)
+++ pypy/trunk/pypy/tool/logparser.py	Sat Feb 27 16:56:45 2010
@@ -24,6 +24,8 @@
         f.close()
         import bz2
         f = bz2.BZ2File(filename, 'r')
+    else:
+        f.seek(0)
     lines = f.readlines()
     f.close()
     #



More information about the Pypy-commit mailing list