[Zope-Checkins] CVS: ZODB3/ZODB - DemoStorage.py:1.18.8.1

Jeremy Hylton jeremy at zope.com
Wed Sep 3 17:05:20 EDT 2003


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

Modified Files:
      Tag: ZODB3-3_2-branch
	DemoStorage.py 
Log Message:
Port from Zope-2_7-branch: Remove use of apply().


=== ZODB3/ZODB/DemoStorage.py 1.18 => 1.18.8.1 ===
--- ZODB3/ZODB/DemoStorage.py:1.18	Tue Apr 22 14:11:44 2003
+++ ZODB3/ZODB/DemoStorage.py	Wed Sep  3 16:05:19 2003
@@ -436,7 +436,7 @@
         self._lock_acquire()
         try:
 
-            stop=`apply(TimeStamp, time.gmtime(t)[:5]+(t%60,))`
+            stop=`TimeStamp(*time.gmtime(t)[:5]+(t%60,))`
             _data=self._data
 
             # Build indexes up to the pack time:




More information about the Zope-Checkins mailing list