[Zope-Checkins] CVS: Zope2 - Main.py:1.36
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Fri, 15 Jun 2001 12:26:00 -0400
Update of /cvs-repository/Zope2/lib/python
In directory serenade:/tmp/cvs-serv4267/lib/python
Modified Files:
Main.py
Log Message:
added missing DateTime import statement
--- Updated File Main.py in package Zope2 --
--- Main.py 2001/04/03 14:57:00 1.35
+++ Main.py 2001/06/15 16:26:00 1.36
@@ -112,7 +112,9 @@
revision=read_only=None
if os.environ.has_key('ZOPE_READ_ONLY'):
read_only=1
- try: revision=DateTime(os.environ['ZOPE_READ_ONLY']).timeTime()
+ try:
+ from DateTime import DateTime
+ revision=DateTime(os.environ['ZOPE_READ_ONLY']).timeTime()
except: pass
Bobobase=Globals.Bobobase=BoboPOS.PickleDictionary(