request: use trivial iterator over dictionary keys
authorAugie Fackler <augie@google.com>
Thu, 05 Oct 2017 14:26:09 -0400
changeset 34513 34fcb0f66837
parent 34512 482d6f6dba91
child 34514 528b21b853aa
request: use trivial iterator over dictionary keys Differential Revision: https://phab.mercurial-scm.org/D968
mercurial/hgweb/request.py
--- a/mercurial/hgweb/request.py	Thu Oct 05 14:22:02 2017 -0400
+++ b/mercurial/hgweb/request.py	Thu Oct 05 14:26:09 2017 -0400
@@ -39,7 +39,7 @@
 
 def normalize(form):
     # first expand the shortcuts
-    for k in shortcuts.iterkeys():
+    for k in shortcuts:
         if k in form:
             for name, value in shortcuts[k]:
                 if value is None: