[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] now the minute will no longer always be "9" in the logs



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.seul.org:/home/arma/work/minion/src/minion/lib/mixminion

Modified Files:
	Common.py 
Log Message:
now the minute will no longer always be '9' in the logs
(and 8 a few days ago)


Index: Common.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Common.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Common.py	31 Aug 2002 04:12:36 -0000	1.20
+++ Common.py	4 Sep 2002 00:38:15 -0000	1.21
@@ -189,11 +189,11 @@
         # Note: Python strftime is implemented using that platform libc's
         # strftime, so in theory, this might barf.  All of the format
         # elements below are (I think) standard, so we should be ok.
-        return time.strftime("%b %d %H:%m:%S")
+        return time.strftime("%b %d %H:%M:%S")
 else:
     def _logtime():
         'Helper function.  Returns current local time formatted for log.'
-        return time.strftime("%b %d %H:%m:%S", time.localtime(time.time()))
+        return time.strftime("%b %d %H:%M:%S", time.localtime(time.time()))
 
 class _FileLogHandler:
     """Helper class for logging.  Represents a file on disk, and allows the