changeset 49004 | f254fc73d956 |
parent 48966 | 6000f5b25c9b |
child 49292 | d44e3c45f0e4 |
--- a/hgext/hgk.py Thu Mar 03 17:39:20 2022 -0800 +++ b/hgext/hgk.py Thu Mar 03 18:28:30 2022 -0800 @@ -376,9 +376,7 @@ """start interactive history viewer""" opts = pycompat.byteskwargs(opts) os.chdir(repo.root) - optstr = b' '.join( - [b'--%s %s' % (k, v) for k, v in pycompat.iteritems(opts) if v] - ) + optstr = b' '.join([b'--%s %s' % (k, v) for k, v in opts.items() if v]) if repo.filtername is None: optstr += b'--hidden'