[pypy-svn] r66907 - pypy/branch/parser-compiler/pypy/module/parser
benjamin at codespeak.net
benjamin at codespeak.net
Tue Aug 18 16:14:47 CEST 2009
Author: benjamin
Date: Tue Aug 18 16:14:45 2009
New Revision: 66907
Modified:
pypy/branch/parser-compiler/pypy/module/parser/pyparser.py
Log:
fix tests
Modified: pypy/branch/parser-compiler/pypy/module/parser/pyparser.py
==============================================================================
--- pypy/branch/parser-compiler/pypy/module/parser/pyparser.py (original)
+++ pypy/branch/parser-compiler/pypy/module/parser/pyparser.py Tue Aug 18 16:14:45 2009
@@ -74,10 +74,10 @@
tree = parser.parse_source(source, info)
except error.IndentationError, e:
raise OperationError(space.w_IndentationError,
- e.wrap_info(space, "<string>"))
+ e.wrap_info(space))
except error.SyntaxError, e:
raise OperationError(space.w_SyntaxError,
- e.wrap_info(space, "<string>"))
+ e.wrap_info(space))
return space.wrap(STType(tree, mode))
More information about the Pypy-commit
mailing list