Log message for revision 30230:
  
  - Make it work standalone, in the absence of App.config
  

Changed:
  U   Zope/trunk/lib/python/DateTime/DateTime.py

-=-
Modified: Zope/trunk/lib/python/DateTime/DateTime.py
===================================================================
--- Zope/trunk/lib/python/DateTime/DateTime.py  2005-05-02 15:34:06 UTC (rev 
30229)
+++ Zope/trunk/lib/python/DateTime/DateTime.py  2005-05-02 18:42:20 UTC (rev 
30230)
@@ -19,14 +19,13 @@
 from time import time, gmtime, localtime
 from time import daylight, timezone, altzone, strftime
 
-from App.config import getConfiguration
-
 default_datefmt = None
 
 def getDefaultDateFormat():
     global default_datefmt
     if default_datefmt is None:
         try:
+            from App.config import getConfiguration
             default_datefmt = getConfiguration().datetime_format
             return default_datefmt
         except:

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to