[Zope-CVS] CVS: Products/Ape/apelib/zodb3 - serializers.py:1.4
Shane Hathaway
shane@zope.com
Sat, 29 Mar 2003 21:15:44 -0500
Update of /cvs-repository/Products/Ape/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv7510/zodb3
Modified Files:
serializers.py
Log Message:
- Finished the plumbing for writing template and script files in text
mode.
- Fixed an intermittent conflict error resulting from mismanagement of
SQL-based modification times.
=== Products/Ape/apelib/zodb3/serializers.py 1.3 => 1.4 ===
--- Products/Ape/apelib/zodb3/serializers.py:1.3 Sat Mar 29 17:27:50 2003
+++ Products/Ape/apelib/zodb3/serializers.py Sat Mar 29 21:15:13 2003
@@ -237,7 +237,7 @@
__implements__ = ISerializer
- schema = FieldSchema('mtime', 'float')
+ schema = FieldSchema('mtime', 'int')
def getSchema(self):
return self.schema
@@ -256,7 +256,7 @@
obj._p_serial = repr(TimeStamp(*args))
def serialize(self, obj, event):
- now = time.time()
+ now = long(time.time())
if obj._p_changed:
# Indicate that this object just changed. Note that the time
# is a guess.