# HG changeset patch # User Gregory Szorc # Date 1518383161 28800 # Node ID e3674c2a585c7a7bc3d5011e73e9b15384884f7d # Parent 0fb0c304ebd63823f966d2909a4a90923f929d92 py3: convert __doc__ to bytes Differential Revision: https://phab.mercurial-scm.org/D2142 diff -r 0fb0c304ebd6 -r e3674c2a585c hgext/show.py --- 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'),