[or-cvs] r22123: {projects} Minor fix (projects/gettor/lib/gettor)

Christian Fromme kaner at strace.org
Mon Apr 5 13:22:27 UTC 2010


Author: kaner
Date: 2010-04-05 13:22:27 +0000 (Mon, 05 Apr 2010)
New Revision: 22123

Modified:
   projects/gettor/lib/gettor/utils.py
Log:
Minor fix


Modified: projects/gettor/lib/gettor/utils.py
===================================================================
--- projects/gettor/lib/gettor/utils.py	2010-04-05 13:17:09 UTC (rev 22122)
+++ projects/gettor/lib/gettor/utils.py	2010-04-05 13:22:27 UTC (rev 22123)
@@ -46,7 +46,7 @@
             return False
     try:
         fd = open(dumpFile, 'a')
-        now = datetime.datetime.now()
+        now = datetime.now()
         prefix = "Failed mail at %s:\n" % now.strftime("%Y-%m-%d %H:%M:%S")
         fd.write(prefix)
         fd.write(message)



More information about the tor-commits mailing list