hgext/hgk.py
changeset 43105 649d3ac37a12
parent 43080 86e4daa2d54c
child 43554 9f70512ae2cf
--- a/hgext/hgk.py	Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/hgk.py	Sun Oct 06 19:25:18 2019 -0400
@@ -376,7 +376,9 @@
     b"start interactive history viewer"
     opts = pycompat.byteskwargs(opts)
     os.chdir(repo.root)
-    optstr = b' '.join([b'--%s %s' % (k, v) for k, v in opts.iteritems() if v])
+    optstr = b' '.join(
+        [b'--%s %s' % (k, v) for k, v in pycompat.iteritems(opts) if v]
+    )
     if repo.filtername is None:
         optstr += b'--hidden'