Commit 080d7a83 authored by Andreas Jung's avatar Andreas Jung

removed try.exception when import DateTime module (should be available

all the time)
parent e056ca5c
...@@ -23,11 +23,7 @@ utility_builtins['math'] = math ...@@ -23,11 +23,7 @@ utility_builtins['math'] = math
utility_builtins['random'] = random utility_builtins['random'] = random
utility_builtins['whrandom'] = whrandom utility_builtins['whrandom'] = whrandom
utility_builtins['sequence'] = DocumentTemplate.sequence utility_builtins['sequence'] = DocumentTemplate.sequence
utility_builtins['DateTime'] = DateTime.DateTime
try:
import DateTime
utility_builtins['DateTime']= DateTime.DateTime
except: pass
def same_type(arg1, *args): def same_type(arg1, *args):
'''Compares the class or type of two or more objects.''' '''Compares the class or type of two or more objects.'''
......
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