[pypy-commit] pypy default: add missing else
gutworth
noreply at buildbot.pypy.org
Tue Jun 14 01:04:37 CEST 2011
Author: Benjamin Peterson <benjamin at python.org>
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)
More information about the pypy-commit
mailing list