Author: reinhard
Date: 2009-12-11 11:58:25 -0600 (Fri, 11 Dec 2009)
New Revision: 10125
Modified:
trunk/gnue-reports/src/client/GRRunUI.py
Log:
Use datetime module instead of mx.
Modified: trunk/gnue-reports/src/client/GRRunUI.py
===================================================================
--- trunk/gnue-reports/src/client/GRRunUI.py 2009-12-10 13:15:30 UTC (rev
10124)
+++ trunk/gnue-reports/src/client/GRRunUI.py 2009-12-11 17:58:25 UTC (rev
10125)
@@ -21,9 +21,9 @@
#
# $Id$
+import datetime
import string
import StringIO
-import mx
from gnue.common.apps import errors
from gnue.common.apps.i18n import utranslate as u_
@@ -296,7 +296,7 @@
masks = ['%x', '%X', '%x %X']
format = masks [['date', 'time', 'datetime'].index (pType)]
current ['format'] = format
- current ['dLength'] = len (mx.DateTime.now ().strftime (format))
+ current ['dLength'] = len (datetime.datetime.now().strftime(format))
current ['label'] = param.get ('description', name)
result.append (current)
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue