[Zope-CVS] CVS: Products/AdaptableStorage - patch.py:1.2

Shane Hathaway shane@cvs.zope.org
Wed, 17 Jul 2002 11:08:29 -0400


Update of /cvs-repository/Products/AdaptableStorage
In directory cvs.zope.org:/tmp/cvs-serv12036

Modified Files:
	patch.py 
Log Message:
Python 2.1 compatibility (was running Python 2.2 only)


=== Products/AdaptableStorage/patch.py 1.1.1.1 => 1.2 ===
 $Id$
 """
 
+from DateTime import DateTime
+
 def applyZRDBPatch():
     # Specify that ZRDB connections implement an interface
     from Products.AdaptableStorage.Base.IDatabaseConnection \
@@ -27,7 +29,6 @@
 def applyPersistentPatch():
     # We need to do this until mtimes are made available.
     # It makes mtime always look like the current time.
-    from DateTime import DateTime
     def bobobase_modification_time(self):
         jar=self._p_jar
         oid=self._p_oid