[Zodb-checkins] CVS: Zope/lib/python/ZEO - ClientStorage.py:1.106.4.9

Fred Drake cvs-admin at zope.org
Fri Oct 24 11:37:50 EDT 2003


Update of /cvs-repository/Zope/lib/python/ZEO
In directory cvs.zope.org:/tmp/cvs-serv32101

Modified Files:
      Tag: Zope-2_7-branch
	ClientStorage.py 
Log Message:
avoid PendingDeprecationWarning for Python 2.3.x


=== Zope/lib/python/ZEO/ClientStorage.py 1.106.4.8 => 1.106.4.9 ===
--- Zope/lib/python/ZEO/ClientStorage.py:1.106.4.8	Fri Oct  3 16:06:49 2003
+++ Zope/lib/python/ZEO/ClientStorage.py	Fri Oct 24 11:37:49 2003
@@ -56,7 +56,8 @@
     the argument.
     """
     t = time.time()
-    t = apply(TimeStamp, (time.gmtime(t)[:5] + (t % 60,)))
+    t = time.gmtime(t)[:5] + (t % 60,)
+    t = TimeStamp(*t)
     if prev_ts is not None:
         t = t.laterThan(prev_ts)
     return t




More information about the Zodb-checkins mailing list