[Zodb-checkins] CVS: Zope3/lib/python/Persistence - _persistent.py:1.1.2.3
Jim Fulton
jim@zope.com
Thu, 22 Nov 2001 19:24:24 -0500
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv1967
Modified Files:
Tag: Zope-3x-branch
_persistent.py
Log Message:
_p_atime is modulus 1 day
=== Zope3/lib/python/Persistence/_persistent.py 1.1.2.2 => 1.1.2.3 ===
setstate(self, dm, 0)
- oset(self, '_p_atime', int(time()))
+ oset(self, '_p_atime', int(time()) % 86400)
return oget(self, name)
@@ -80,7 +80,7 @@
oset(self, '_p_state', 1)
dm.register(self)
- oset(self, '_p_atime', int(time()))
+ oset(self, '_p_atime', int(time()) % 86400)
return oset(self, name, v)