Mercurial > hg-stable
changeset 36079: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 | 0fb0c304ebd6 |
children | 4fe2041007ed |
files | hgext/show.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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'),