changeset 34513:34fcb0f66837

request: use trivial iterator over dictionary keys Differential Revision: https://phab.mercurial-scm.org/D968
author Augie Fackler <augie@google.com>
date Thu, 05 Oct 2017 14:26:09 -0400
parents 482d6f6dba91
children 528b21b853aa
files mercurial/hgweb/request.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: