[pypy-commit] pypy py3.3: Backout 7e04e788d910, it seems like it broke translation.

Manuel Jacob noreply at buildbot.pypy.org
Thu Jul 31 14:11:57 CEST 2014


Author: Manuel Jacob
Branch: py3.3
Changeset: r72623:bcad0c109c8c
Date: 2014-07-31 14:11 +0200
http://bitbucket.org/pypy/pypy/changeset/bcad0c109c8c/

Log:	Backout 7e04e788d910, it seems like it broke translation.

diff --git a/pypy/interpreter/astcompiler/validate.py b/pypy/interpreter/astcompiler/validate.py
--- a/pypy/interpreter/astcompiler/validate.py
+++ b/pypy/interpreter/astcompiler/validate.py
@@ -11,7 +11,8 @@
 
 
 class ValidationError(Exception):
-    """Signals an invalid AST"""
+    def __init__(self, message):
+        self.message = message
 
 
 def expr_context_name(ctx):


More information about the pypy-commit mailing list