Mercurial > public > mercurial-scm > hg
diff hgext/show.py @ 36041:e3674c2a585c
py3: convert __doc__ to bytes
Differential Revision: https://phab.mercurial-scm.org/D2142
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 13:06:01 -0800 |
parents | c8e2d6ed1f9e |
children | 317382151ac3 |
line wrap: on
line diff
--- a/hgext/show.py Sun Feb 11 14:21:44 2018 -0800 +++ b/hgext/show.py Sun Feb 11 13:06:01 2018 -0800 @@ -126,7 +126,7 @@ ui.write('\n') for name, func in sorted(views.items()): - ui.write(('%s\n') % func.__doc__) + ui.write(('%s\n') % pycompat.sysbytes(func.__doc__)) ui.write('\n') raise error.Abort(_('no view requested'),