mercurial/minirst.py
changeset 31340 ff25b89a0776
parent 31318 1c3352d7eaf2
child 31712 b3640334a43a
--- a/mercurial/minirst.py	Sun Mar 12 22:27:53 2017 +0530
+++ b/mercurial/minirst.py	Sun Mar 12 22:46:57 2017 +0530
@@ -549,7 +549,7 @@
     elif block['type'] == 'option':
         return formatoption(block, width)
 
-    text = ' '.join(map(str.strip, block['lines']))
+    text = ' '.join(map(bytes.strip, block['lines']))
     return util.wrap(text, width=width,
                      initindent=indent,
                      hangindent=subindent) + '\n'