diff -r a0674e916fb6 -r f254fc73d956 hgext/githelp.py --- a/hgext/githelp.py Thu Mar 03 17:39:20 2022 -0800 +++ b/hgext/githelp.py Thu Mar 03 18:28:30 2022 -0800 @@ -115,7 +115,7 @@ opts = dict( [ (k, convert(v)) if isinstance(v, bytes) else (k, v) - for k, v in pycompat.iteritems(opts) + for k, v in opts.items() ] ) @@ -131,7 +131,7 @@ def __bytes__(self): cmd = b"hg " + self.name if self.opts: - for k, values in sorted(pycompat.iteritems(self.opts)): + for k, values in sorted(self.opts.items()): for v in values: if v: if isinstance(v, int):