community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864385 - /comdev/reporter.apache.org/trunk/site/wizard/kibble.py
Date Sun, 04 Aug 2019 14:29:52 GMT
Author: humbedooh
Date: Sun Aug  4 14:29:52 2019
New Revision: 1864385

URL: http://svn.apache.org/viewvc?rev=1864385&view=rev
Log:
fix math

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/kibble.py

Modified: comdev/reporter.apache.org/trunk/site/wizard/kibble.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/kibble.py?rev=1864385&r1=1864384&r2=1864385&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/kibble.py (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/kibble.py Sun Aug  4 14:29:52 2019
@@ -68,8 +68,8 @@ def main():
         for month in after:
             iso_after += month.get('issues opened', 0)
             isc_after += month.get('issues closed', 0)
-        iso_change = '%u%%' % int((iso_after - pro_before) / (iso_before or 1) * 100)
-        isc_change = '%u%%' % int((isc_after - prc_before) / (isc_before or 1) * 100)
+        iso_change = '%u%%' % int((iso_after - iso_before) / (iso_before or 1) * 100)
+        isc_change = '%u%%' % int((isc_after - isc_before) / (isc_before or 1) * 100)
         
         
         # Commits



Mime
View raw message