[Zope-Checkins]
SVN: Zope/trunk/lib/python/RestrictedPython/Utilities.py
re-added DateTime import
Andreas Jung
andreas at andreas-jung.com
Sun Oct 30 04:57:32 EST 2005
Log message for revision 39729:
re-added DateTime import
Changed:
U Zope/trunk/lib/python/RestrictedPython/Utilities.py
-=-
Modified: Zope/trunk/lib/python/RestrictedPython/Utilities.py
===================================================================
--- Zope/trunk/lib/python/RestrictedPython/Utilities.py 2005-10-30 09:14:14 UTC (rev 39728)
+++ Zope/trunk/lib/python/RestrictedPython/Utilities.py 2005-10-30 09:57:31 UTC (rev 39729)
@@ -15,6 +15,7 @@
import string, math, random, whrandom
import DocumentTemplate.sequence
+from DateTime.DateTime import DateTime
utility_builtins = {}
@@ -23,7 +24,7 @@
utility_builtins['random'] = random
utility_builtins['whrandom'] = whrandom
utility_builtins['sequence'] = DocumentTemplate.sequence
-utility_builtins['DateTime'] = DateTime.DateTime
+utility_builtins['DateTime'] = DateTime
def same_type(arg1, *args):
'''Compares the class or type of two or more objects.'''
More information about the Zope-Checkins
mailing list