Commit 6857c1e0 authored by Andreas Jung's avatar Andreas Jung

added missing DateTime import statement

parent 5562821c
......@@ -112,7 +112,9 @@ OFS.Application.import_products()
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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment