mercurial/httpconnection.py
changeset 43106 d783f945a701
parent 43085 eef9a2d67051
child 44344 0e8b28fb751b
--- a/mercurial/httpconnection.py	Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/httpconnection.py	Mon Oct 07 00:04:04 2019 -0400
@@ -87,7 +87,7 @@
     bestuser = None
     bestlen = 0
     bestauth = None
-    for group, auth in groups.iteritems():
+    for group, auth in pycompat.iteritems(groups):
         if user and user != auth.get(b'username', user):
             # If a username was set in the URI, the entry username
             # must either match it or be unset