D1135: webutil: use pycompat.bytestr() instead of str()

ryanmce (Ryan McElroy) phabricator at mercurial-scm.org
Tue Oct 17 08:20:28 EDT 2017


ryanmce added inline comments.

INLINE COMMENTS

> webutil.py:593-596
> +            yield {'name': key,
> +                   'value': pycompat.bytestr(value),
> +                   'separator': separator,
> +            }

Buhhhhh, this looks ugly as sin. Can we drop 'name' to the next line please? (I can do that in-flight, actually)

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1135

To: durin42, #hg-reviewers, pulkit
Cc: ryanmce, mercurial-devel


More information about the Mercurial-devel mailing list