Author: Benjamin Peterson <[email protected]>
Branch: 
Changeset: r44916:d1c3d0fb9a94
Date: 2011-06-13 18:07 -0500
http://bitbucket.org/pypy/pypy/changeset/d1c3d0fb9a94/

Log:    add missing else

diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py
--- a/pypy/interpreter/baseobjspace.py
+++ b/pypy/interpreter/baseobjspace.py
@@ -989,6 +989,7 @@
             compiler = self.createcompiler()
             expression = compiler.compile(expression, '?', 'eval', 0,
                                          hidden_applevel=hidden_applevel)
+        else:
             raise TypeError, 'space.eval(): expected a string, code or PyCode 
object'
         return expression.exec_code(self, w_globals, w_locals)
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to