Show More
@@ -266,7 +266,8 b' def makeitemsdoc(ui, topic, doc, marker,' | |||
|
266 | 266 | continue |
|
267 | 267 | text = gettext(text) |
|
268 | 268 | if dedent: |
|
269 |
|
|
|
269 | # Abuse latin1 to use textwrap.dedent() on bytes. | |
|
270 | text = textwrap.dedent(text.decode('latin1')).encode('latin1') | |
|
270 | 271 | lines = text.splitlines() |
|
271 | 272 | doclines = [(lines[0])] |
|
272 | 273 | for l in lines[1:]: |
General Comments 0
You need to be logged in to leave comments.
Login now