Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 583 invoked from network); 11 Aug 2004 20:21:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Aug 2004 20:21:38 -0000 Received: (qmail 38692 invoked by uid 500); 11 Aug 2004 20:21:36 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 38639 invoked by uid 500); 11 Aug 2004 20:21:36 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 38625 invoked by uid 500); 11 Aug 2004 20:21:36 -0000 Received: (qmail 38622 invoked by uid 99); 11 Aug 2004 20:21:36 -0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 11 Aug 2004 13:21:36 -0700 Received: (qmail 497 invoked by uid 65534); 11 Aug 2004 20:21:35 -0000 Date: 11 Aug 2004 20:21:35 -0000 Message-ID: <20040811202135.495.qmail@minotaur.apache.org> From: ajack@apache.org To: cvs@gump.apache.org Subject: svn commit: rev 36249 - gump/trunk/python/gump/stats/mysql X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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