[pypy-svn] r65469 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test

benjamin at codespeak.net benjamin at codespeak.net
Thu May 28 00:34:14 CEST 2009


Author: benjamin
Date: Thu May 28 00:34:10 2009
New Revision: 65469

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/oparser.py
Log:
when somebody tries to use this on Windows, they'll thank me

Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/oparser.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/oparser.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/test/oparser.py	Thu May 28 00:34:10 2009
@@ -124,7 +124,7 @@
             return self.parse_op_no_result(line)
 
     def parse(self):
-        lines = self.descr.split("\n")
+        lines = self.descr.splitlines()
         ops = []
         newlines = []
         for line in lines:



More information about the Pypy-commit mailing list