community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1711506 - /comdev/reporter.apache.org/trunk/mailglomper.py
Date Fri, 30 Oct 2015 16:49:59 GMT
Author: sebb
Date: Fri Oct 30 16:49:58 2015
New Revision: 1711506

URL: http://svn.apache.org/viewvc?rev=1711506&view=rev
Log:
Use Python3-compatible syntax

Modified:
    comdev/reporter.apache.org/trunk/mailglomper.py

Modified: comdev/reporter.apache.org/trunk/mailglomper.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/mailglomper.py?rev=1711506&r1=1711505&r2=1711506&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/mailglomper.py (original)
+++ comdev/reporter.apache.org/trunk/mailglomper.py Fri Oct 30 16:49:58 2015
@@ -60,7 +60,7 @@ the files that process the output for a
 """
 
 def tsprint(s): # print with timestamp
-    print time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), s
+    print("%s %s" % (time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()), s))
 
 tsprint("Started")
 



Mime
View raw message