[Zodb-checkins] CVS: ZODB4/src/zodb/code - module.py:1.9
Jeremy Hylton
jeremy@zope.com
Thu, 6 Mar 2003 15:47:27 -0500
Update of /cvs-repository/ZODB4/src/zodb/code
In directory cvs.zope.org:/tmp/cvs-serv18733/src/zodb/code
Modified Files:
module.py
Log Message:
Don't need to bind exception object.
=== ZODB4/src/zodb/code/module.py 1.8 => 1.9 ===
--- ZODB4/src/zodb/code/module.py:1.8 Tue Jan 28 16:24:32 2003
+++ ZODB4/src/zodb/code/module.py Thu Mar 6 15:47:26 2003
@@ -15,7 +15,6 @@
__metaclass__ = type
-import __builtin__
# in 2.3, this will be spelled new.function
from types import FunctionType as function
import sys
@@ -128,7 +127,7 @@
self._module = PersistentModule(name)
try:
self._registry.setModule(name, self._module)
- except ValueError, err:
+ except ValueError:
self._module = None
raise
self.name = name