Return-Path: Delivered-To: apmail-gump-commits-archive@www.apache.org Received: (qmail 91390 invoked from network); 16 Oct 2004 14:13:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Oct 2004 14:13:14 -0000 Received: (qmail 2908 invoked by uid 500); 16 Oct 2004 14:12:48 -0000 Mailing-List: contact commits-help@gump.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gump.apache.org Delivered-To: mailing list commits@gump.apache.org Received: (qmail 2826 invoked by uid 99); 16 Oct 2004 14:12:47 -0000 X-ASF-Spam-Status: No, hits=-8.7 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,WEIRD_QUOTING 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.28) with SMTP; Sat, 16 Oct 2004 07:12:47 -0700 Received: (qmail 91256 invoked by uid 65534); 16 Oct 2004 14:12:45 -0000 Date: 16 Oct 2004 14:12:45 -0000 Message-ID: <20041016141245.91252.qmail@minotaur.apache.org> From: ajack@apache.org To: commits@gump.apache.org Subject: svn commit: rev 54923 - in gump/trunk: . cron python/gump/util python/tool X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: ajack Date: Sat Oct 16 07:12:45 2004 New Revision: 54923 Modified: gump/trunk/cron/gump.py gump/trunk/gump.py gump/trunk/python/gump/util/smtp.py gump/trunk/python/tool/commitCheck.py Log: Use %Y (4 digit date) not %y (2 digits) for dates, especially in SMTP header. Modified: gump/trunk/cron/gump.py ============================================================================== Binary files. No diff available. Modified: gump/trunk/gump.py ============================================================================== --- gump/trunk/gump.py (original) +++ gump/trunk/gump.py Sat Oct 16 07:12:45 2004 @@ -189,8 +189,8 @@ sys.stdout.write('- Apache Gump \n') sys.stdout.write('- ************************************\n') sys.stdout.write('- GUMP run on host : ' + hostname + '\n') - sys.stdout.write('- GUMP run @ : ' + time.strftime('%d %b %y %H:%M:%S', time.localtime()) + '\n') - sys.stdout.write('- GUMP run @ UTC : ' + time.strftime('%d %b %y %H:%M:%S', time.gmtime()) + '\n') + sys.stdout.write('- GUMP run @ : ' + time.strftime('%d %b %Y %H:%M:%S', time.localtime()) + '\n') + sys.stdout.write('- GUMP run @ UTC : ' + time.strftime('%d %b %Y %H:%M:%S', time.gmtime()) + '\n') sys.stdout.write('- GUMP run by Python : ' + `sys.version` + '\n') sys.stdout.write('- GUMP run by Python : ' + `sys.executable` + '\n') sys.stdout.write('- GUMP run by Gump : ' + GUMP_VERSION + '\n') Modified: gump/trunk/python/gump/util/smtp.py ============================================================================== --- gump/trunk/python/gump/util/smtp.py (original) +++ gump/trunk/python/gump/util/smtp.py Sat Oct 16 07:12:45 2004 @@ -60,7 +60,7 @@ """E-mail""" # Add the From: and To: headers at the start! data = ("Date: %s\r\nFrom: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n%s%s" - % ( time.strftime('%a, %d %b %y %H:%M:%S %Z', time.localtime()), + % ( time.strftime('%a, %d %b %Y %H:%M:%S %Z', time.localtime()), #self.fromaddr.encode(), self.fromaddr, string.join(self.toaddrs, ", "), Modified: gump/trunk/python/tool/commitCheck.py ============================================================================== --- gump/trunk/python/tool/commitCheck.py (original) +++ gump/trunk/python/tool/commitCheck.py Sat Oct 16 07:12:45 2004 @@ -147,7 +147,7 @@ hostname = socket.gethostname() log.write('- GUMP run on host : ' + hostname + '\n') - log.write('- GUMP run @ : ' + time.strftime('%d %b %y %H:%M:%S', time.gmtime()) + '\n') + log.write('- GUMP run @ : ' + time.strftime('%d %b %Y %H:%M:%S', time.gmtime()) + '\n') log.write('- GUMP run by Python : ' + `sys.version` + '\n') log.write('- GUMP run on OS : ' + `os.name` + '\n') log.write('- GUMP run in env : \n')