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:31:24 UTC
svn commit: r1728850 - /comdev/reporter.apache.org/trunk/site/chi.py
Author: sebb
Date: Sat Feb 6 15:31:23 2016
New Revision: 1728850
URL: http://svn.apache.org/viewvc?rev=1728850&view=rev
Log:
Standardise on print(string)
Modified:
comdev/reporter.apache.org/trunk/site/chi.py
Modified: comdev/reporter.apache.org/trunk/site/chi.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/chi.py?rev=1728850&r1=1728849&r2=1728850&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/chi.py (original)
+++ comdev/reporter.apache.org/trunk/site/chi.py Sat Feb 6 15:31:23 2016
@@ -322,8 +322,8 @@ if m:
s = 0
status[s] += 1;
print("<font color='%s'>" % colors[s])
- print "<b id='%s'>%s%s: %s%s</b><br/>\n" % (entry['group'], "<u>" if s >= 4 else "", entry['pmc'], values[s],"</u>" if s >= 4 else "", )
- print "<blockquote><b>Health score:</b> %0.2f<br>" % (6.33+((-1 * entry['score'])* (20/12.25)))
+ print( "<b id='%s'>%s%s: %s%s</b><br/>\n" % (entry['group'], "<u>" if s >= 4 else "", entry['pmc'], values[s],"</u>" if s >= 4 else "", ))
+ print( "<blockquote><b>Health score:</b> %0.2f<br>" % (6.33+((-1 * entry['score'])* (20/12.25))))
for l in entry['notes']:
print("<b>Score note: </b>%s<br/>" % l)
print("</blockquote></font><hr/>\n")