hgext/githelp.py
changeset 51372 0d414fb8336f
parent 49037 642e31cb55f0
equal deleted inserted replaced
51371:508fd40dc86a 51372:0d414fb8336f
   109                     hint=hint % pycompat.bytestr(ex.opt),
   109                     hint=hint % pycompat.bytestr(ex.opt),
   110                 )
   110                 )
   111 
   111 
   112             ui.warn(_(b"ignoring unknown option %s\n") % flag)
   112             ui.warn(_(b"ignoring unknown option %s\n") % flag)
   113 
   113 
   114     args = list([convert(x) for x in args])
   114     args = [convert(x) for x in args]
   115     opts = dict(
   115     opts = dict(
   116         [
   116         [
   117             (k, convert(v)) if isinstance(v, bytes) else (k, v)
   117             (k, convert(v)) if isinstance(v, bytes) else (k, v)
   118             for k, v in opts.items()
   118             for k, v in opts.items()
   119         ]
   119         ]