diff mercurial/hgweb/hgweb_mod.py @ 22200:b27c3beaaf30

cleanup: avoid local vars shadowing imports This will mute some pyflakes "import ... shadowed by loop variable" warnings.
author Mads Kiilerich <madski@unity3d.com>
date Fri, 15 Aug 2014 16:20:47 +0200
parents af62f0280a76
children c39d404f0eb0
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Fri Aug 15 16:20:47 2014 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Aug 15 16:20:47 2014 +0200
@@ -392,5 +392,5 @@
         }
 
     def check_perm(self, req, op):
-        for hook in permhooks:
-            hook(self, req, op)
+        for permhook in permhooks:
+            permhook(self, req, op)