community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864343 - /comdev/reporter.apache.org/trunk/site/wizard/comments.py
Date Sat, 03 Aug 2019 19:06:20 GMT
Author: humbedooh
Date: Sat Aug  3 19:06:20 2019
New Revision: 1864343

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

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

Modified: comdev/reporter.apache.org/trunk/site/wizard/comments.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/comments.py?rev=1864343&r1=1864342&r2=1864343&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/comments.py (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/comments.py Sat Aug  3 19:06:20 2019
@@ -69,8 +69,8 @@ def main():
                 sys.stdout.write(dump)
                 return
             # interleave new within old
-            for project in rv:
-                orv[project] = rv[project]
+            for xproject in rv:
+                orv[xproject] = rv[xproject]
             with open(wanted_file, "w") as f:
                 f.write(json.dumps(orv))
             cached = False



Mime
View raw message