[Zope-Checkins] CVS: Zope2 - db.py:1.11.182.1
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Fri, 15 Jun 2001 13:59:19 -0400
Update of /cvs-repository/Zope2/lib/python/Products/ZGadflyDA
In directory serenade:/tmp/cvs-serv8742/lib/python/Products/ZGadflyDA
Modified Files:
Tag: ajung-mxdatetime
db.py
Log Message:
savepoint
--- Updated File db.py in package Zope2 --
--- db.py 1999/09/16 15:12:45 1.11
+++ db.py 2001/06/15 17:58:48 1.11.182.1
@@ -90,7 +90,7 @@
from string import strip, split
import gadfly
import Globals, Shared.DC.ZRDB.THUNK
-from DateTime import DateTime
+from mx.DateTime import now
data_dir=os.path.join(Globals.data_dir,'gadfly')
@@ -156,7 +156,7 @@
db.startup(connection,dir)
else: db=gadfly.gadfly(connection,dir)
self.db=db
- self.opened=DateTime()
+ self.opened=now()
def close(self):
self.db=None