# HG changeset patch # User Martin Geisler # Date 1271598469 -7200 # Node ID a9d5943d2a303a2e7457feaef1e65dfc8702a685 # Parent 2853c891ac4118e6a8007b9f47e2fd21c6f1bee4 minirst: removed unnecessary initindent variable diff -r 2853c891ac41 -r a9d5943d2a30 mercurial/minirst.py --- a/mercurial/minirst.py Sun Apr 18 15:47:49 2010 +0200 +++ b/mercurial/minirst.py Sun Apr 18 15:47:49 2010 +0200 @@ -289,7 +289,7 @@ return "%s\n%s" % (term, textwrap.fill(text, width=width, initial_indent=defindent, subsequent_indent=defindent)) - initindent = subindent = indent + subindent = indent if block['type'] == 'bullet': if block['lines'][0].startswith('| '): # Remove bullet for line blocks and add no extra @@ -321,7 +321,7 @@ text = ' '.join(map(str.strip, block['lines'])) return textwrap.fill(text, width=width, - initial_indent=initindent, + initial_indent=indent, subsequent_indent=subindent)