diff -r 649d3ac37a12 -r d783f945a701 mercurial/hgweb/wsgicgi.py --- a/mercurial/hgweb/wsgicgi.py Sun Oct 06 19:25:18 2019 -0400 +++ b/mercurial/hgweb/wsgicgi.py Mon Oct 07 00:04:04 2019 -0400 @@ -24,7 +24,7 @@ procutil.setbinary(procutil.stdin) procutil.setbinary(procutil.stdout) - environ = dict(os.environ.iteritems()) # re-exports + environ = dict(pycompat.iteritems(os.environ)) # re-exports environ.setdefault(r'PATH_INFO', b'') if environ.get(r'SERVER_SOFTWARE', r'').startswith(r'Microsoft-IIS'): # IIS includes script_name in PATH_INFO