[pypy-commit] pypy py3.3: redo 7e04e788d910 without breaking translation

pjenvey noreply at buildbot.pypy.org
Fri Aug 1 03:15:45 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3.3
Changeset: r72627:bbf05facf765
Date: 2014-07-31 18:02 -0700
http://bitbucket.org/pypy/pypy/changeset/bbf05facf765/

Log:	redo 7e04e788d910 without breaking 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
@@ -14,6 +14,9 @@
     def __init__(self, message):
         self.message = message
 
+    def __str__(self):
+        return self.message
+
 
 def expr_context_name(ctx):
     if not 1 <= ctx <= len(ast.expr_context_to_class):


More information about the pypy-commit mailing list