community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1728850 - /comdev/reporter.apache.org/trunk/site/chi.py
Date Sat, 06 Feb 2016 15:31:24 GMT
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")



Mime
View raw message