[pypy-svn] r70188 - pypy/branch/import-builtin/pypy/interpreter

afa at codespeak.net afa at codespeak.net
Fri Dec 18 00:43:41 CET 2009


Author: afa
Date: Fri Dec 18 00:43:40 2009
New Revision: 70188

Modified:
   pypy/branch/import-builtin/pypy/interpreter/baseobjspace.py
Log:
Grrr

Modified: pypy/branch/import-builtin/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/branch/import-builtin/pypy/interpreter/baseobjspace.py	(original)
+++ pypy/branch/import-builtin/pypy/interpreter/baseobjspace.py	Fri Dec 18 00:43:40 2009
@@ -367,9 +367,9 @@
             w_mod = self.builtin_modules[name]
         except KeyError:
             raise OperationError(
-                space.w_SystemError,
-                space.wrap("getbuiltinmodule() called "
-                           "with non-builtin module %s" % name))
+                self.w_SystemError,
+                self.wrap("getbuiltinmodule() called "
+                          "with non-builtin module %s" % name))
         else:
             # Add the module to sys.modules
             self.setitem(w_modules, w_name, w_mod)



More information about the Pypy-commit mailing list