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 2016/02/06 16:29:44 UTC
svn commit: r1728849 - /comdev/reporter.apache.org/trunk/site/deathnote.py
Author: sebb
Date: Sat Feb 6 15:29:43 2016
New Revision: 1728849
URL: http://svn.apache.org/viewvc?rev=1728849&view=rev
Log:
Standardise on print(string)
Modified:
comdev/reporter.apache.org/trunk/site/deathnote.py
Modified: comdev/reporter.apache.org/trunk/site/deathnote.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/deathnote.py?rev=1728849&r1=1728848&r2=1728849&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/deathnote.py (original)
+++ comdev/reporter.apache.org/trunk/site/deathnote.py Sat Feb 6 15:29:43 2016
@@ -225,8 +225,8 @@ if m:
if s > 3:
s = 3
print("<font color='%s'>" % colors[s])
- print "<b>%s: %s</b><br/>\n" % (entry['pmc'], values[s] )
- print "<blockquote><b>Health score:</b> %u<br>" % (-1 * entry['score'])
+ print( "<b>%s: %s</b><br/>\n" % (entry['pmc'], values[s] ))
+ print("<blockquote><b>Health score:</b> %u<br>" % (-1 * entry['score']))
for l in entry['notes']:
print("<b>Problem: </b>%s<br/>" % l)
print("</blockquote></font><hr/>\n")