[Zodb-checkins] CVS: Zope/lib/python/ZEO/tests -
CommitLockTests.py:1.12.18.5
Fred Drake
cvs-admin at zope.org
Wed Nov 5 00:48:34 EST 2003
Update of /cvs-repository/Zope/lib/python/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv25190/lib/python/ZEO/tests
Modified Files:
Tag: Zope-2_7-branch
CommitLockTests.py
Log Message:
Zope 2.7 should no longer use apply() since that is deprecated.
=== Zope/lib/python/ZEO/tests/CommitLockTests.py 1.12.18.4 => 1.12.18.5 ===
--- Zope/lib/python/ZEO/tests/CommitLockTests.py:1.12.18.4 Mon Sep 15 17:26:54 2003
+++ Zope/lib/python/ZEO/tests/CommitLockTests.py Wed Nov 5 00:48:33 2003
@@ -242,5 +242,5 @@
def _get_timestamp(self):
t = time.time()
- t = apply(TimeStamp,(time.gmtime(t)[:5]+(t%60,)))
- return `t`
+ t = time. gmtime(t)[:5] + (t % 60,)
+ return `TimeStamp(*t)`
More information about the Zodb-checkins
mailing list