[pypy-svn] r45482 - pypy/dist/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Sat Aug 4 11:04:04 CEST 2007


Author: arigo
Date: Sat Aug  4 11:04:02 2007
New Revision: 45482

Modified:
   pypy/dist/pypy/rpython/extfunc.py
Log:
Oups!


Modified: pypy/dist/pypy/rpython/extfunc.py
==============================================================================
--- pypy/dist/pypy/rpython/extfunc.py	(original)
+++ pypy/dist/pypy/rpython/extfunc.py	Sat Aug  4 11:04:02 2007
@@ -25,7 +25,7 @@
             # an exception afterwards, the ExtRaisingEntry would create
             # a double-registration and crash in an AssertionError that
             # masks the original problem.  In this case, just re-raise now.
-            if extregistry.lookup(func):
+            if extregistry.is_registered(func):
                 raise exc, exc_inst, tb
             class ExtRaisingEntry(ExtRegistryEntry):
                 _about_ = func



More information about the Pypy-commit mailing list