# HG changeset patch # User Augie Fackler # Date 1507227969 14400 # Node ID 34fcb0f66837fc446d586280f84f9099257c3b8f # Parent 482d6f6dba91bb144070a44f2d05929e0450d748 request: use trivial iterator over dictionary keys Differential Revision: https://phab.mercurial-scm.org/D968 diff -r 482d6f6dba91 -r 34fcb0f66837 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: