[Zodb-checkins] CVS: Packages/ZODB - config.py:1.13.4.1.38.3

Jim Fulton jim at zope.com
Fri Jan 20 17:15:23 EST 2006


Update of /cvs-repository/Packages/ZODB
In directory cvs.zope.org:/tmp/cvs-serv15174/ZODB

Modified Files:
      Tag: jim-test-storage
	config.py 
Log Message:
Args to TimeStamp must be ints.


=== Packages/ZODB/config.py 1.13.4.1.38.2 => 1.13.4.1.38.3 ===
--- Packages/ZODB/config.py:1.13.4.1.38.2	Fri Jan 20 13:29:27 2006
+++ Packages/ZODB/config.py	Fri Jan 20 17:15:22 2006
@@ -17,11 +17,11 @@
 
 import os
 from cStringIO import StringIO
-import ZODB.Timestamp
 
 import ZConfig
 
 import ZODB
+import ZODB.TimeStamp
 
 db_schema_path = os.path.join(ZODB.__path__[0], "config.xml")
 _db_schema = None
@@ -132,7 +132,7 @@
                 d, t = as_of, '0'
 
             y, m, d = map(int, d.split('-'))
-            as_of = ZODB.TimeStamp.TimeStamp(y, m, d, *t.split(':'))
+            as_of = ZODB.TimeStamp.TimeStamp(y, m, d, *map(int, t.split(':')))
             read_only = True
         else:
             as_of = None



More information about the Zodb-checkins mailing list