gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 36249 - gump/trunk/python/gump/stats/mysql
Date Wed, 11 Aug 2004 20:21:35 GMT
Author: ajack
Date: Wed Aug 11 13:21:35 2004
New Revision: 36249

Modified:
   gump/trunk/python/gump/stats/mysql/statsdb.py
Log:
retry 

Modified: gump/trunk/python/gump/stats/mysql/statsdb.py
==============================================================================
--- gump/trunk/python/gump/stats/mysql/statsdb.py	(original)
+++ gump/trunk/python/gump/stats/mysql/statsdb.py	Wed Aug 11 13:21:35 2004
@@ -191,7 +191,7 @@
                             setattr(stats,attr,value)
                         else:
                             setattr(stats,attr,
-                                datetime.datetime.fromtimestamp(time.strptime(value,'%Y-%m-%d
%H:%M:%S')))
+                                datetime.datetime.fromtimestamp(time.mktime(time.strptime(value,'%Y-%m-%d
%H:%M:%S'))))
                     else:    
                         setattr(stats,attr,value)
         

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message