[Zodb-checkins] CVS: ZODB4/src/zodb/zeo/tests - commitlock.py:1.7.6.2

Jeremy Hylton jeremy at zope.com
Wed Jun 18 15:22:40 EDT 2003


Update of /cvs-repository/ZODB4/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv5768/src/zodb/zeo/tests

Modified Files:
      Tag: ZODB3-2-merge
	commitlock.py 
Log Message:
Remove use of apply.


=== ZODB4/src/zodb/zeo/tests/commitlock.py 1.7.6.1 => 1.7.6.2 ===
--- ZODB4/src/zodb/zeo/tests/commitlock.py:1.7.6.1	Wed Jun 18 11:49:27 2003
+++ ZODB4/src/zodb/zeo/tests/commitlock.py	Wed Jun 18 14:22:40 2003
@@ -179,7 +179,7 @@
 
     def _get_timestamp(self):
         t = time.time()
-        t = apply(TimeStamp,(time.gmtime(t)[:5]+(t%60,)))
+        t = TimeStamp(*time.gmtime(t)[:5]+(t%60,))
         return `t`
 
 class CommitLockUndoTests(CommitLockTests):




More information about the Zodb-checkins mailing list