utils.py
changeset 6225 a176e68b7d0d
parent 6149 57e956441ca4
parent 6176 33ba2c1dbf10
child 6376 f8662240ed4d
--- a/utils.py	Tue Sep 07 17:34:42 2010 +0200
+++ b/utils.py	Mon Sep 13 15:15:21 2010 +0200
@@ -370,6 +370,7 @@
 
 else:
     from logilab.common.date import ustrftime
+
     class CubicWebJsonEncoder(json.JSONEncoder):
         """define a json encoder to be able to encode yams std types"""
 
@@ -410,7 +411,7 @@
 _THIS_MOD_NS = globals()
 for funcname in ('date_range', 'todate', 'todatetime', 'datetime2ticks',
                  'days_in_month', 'days_in_year', 'previous_month',
-                 'next_month', 'first_day', 'last_day', 'ustrftime',
+                 'next_month', 'first_day', 'last_day',
                  'strptime'):
     msg = '[3.6] %s has been moved to logilab.common.date' % funcname
     _THIS_MOD_NS[funcname] = deprecated(msg)(getattr(date, funcname))