[pypy-commit] pypy default: Run ./interpreter/astcompiler/tools/asdl_py.py
amauryfa
noreply at buildbot.pypy.org
Sat Dec 17 13:30:09 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch:
Changeset: r50610:1ed3eaa72e9d
Date: 2011-12-16 22:42 +0100
http://bitbucket.org/pypy/pypy/changeset/1ed3eaa72e9d/
Log: Run ./interpreter/astcompiler/tools/asdl_py.py
diff --git a/pypy/interpreter/astcompiler/ast.py b/pypy/interpreter/astcompiler/ast.py
--- a/pypy/interpreter/astcompiler/ast.py
+++ b/pypy/interpreter/astcompiler/ast.py
@@ -101,9 +101,7 @@
missing = required[i]
if missing is not None:
err = "required field \"%s\" missing from %s"
- err = err % (missing, host)
- w_err = space.wrap(err)
- raise OperationError(space.w_TypeError, w_err)
+ raise operationerrfmt(space.w_TypeError, err, missing, host)
raise AssertionError("should not reach here")
More information about the pypy-commit
mailing list