Submitter | Pulkit Goyal |
---|---|
Date | March 12, 2017, 5:19 p.m. |
Message ID | <a780f27bd455458749ef.1489339191@pulkit-goyal> |
Download | mbox | patch |
Permalink | /patch/19169/ |
State | Accepted |
Headers | show |
Comments
Patch
diff -r 6cccbcf562c2 -r a780f27bd455 mercurial/minirst.py --- a/mercurial/minirst.py Sun Mar 12 22:33:43 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'