You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2015/10/30 17:49:59 UTC
svn commit: r1711506 - /comdev/reporter.apache.org/trunk/mailglomper.py
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")