[Zodb-checkins] CVS: ZODB3/ZODB/tests - StorageTestBase.py:1.27.8.3

Jeremy Hylton jeremy at zope.com
Tue Jul 15 14:21:06 EDT 2003


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv25207

Modified Files:
      Tag: zodb33-devel-branch
	StorageTestBase.py 
Log Message:
Remove unused local variables.


=== ZODB3/ZODB/tests/StorageTestBase.py 1.27.8.2 => 1.27.8.3 ===
--- ZODB3/ZODB/tests/StorageTestBase.py:1.27.8.2	Fri Jul 11 09:13:22 2003
+++ ZODB3/ZODB/tests/StorageTestBase.py	Tue Jul 15 13:20:59 2003
@@ -85,10 +85,8 @@
     if isinstance(klass_info, types.TupleType):
         if isinstance(klass_info[0], types.TupleType):
             modname, klassname = klass_info[0]
-            args = klass_info[1]
         else:
             modname, klassname = klass_info
-            args = None
         if modname == "__main__":
             ns = globals()
         else:
@@ -140,7 +138,7 @@
     return handle_all_serials(oid, *args)[oid]
 
 def import_helper(name):
-    mod = __import__(name)
+    __import__(name)
     return sys.modules[name]
 
 def removefs(base):




More information about the Zodb-checkins mailing list