Mercurial > hg
changeset 15102:a7e375d087f6
minirst: fix container stripping logic
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 16 Sep 2011 14:37:53 -0500 |
parents | a21ccf4412d5 |
children | 5ca8c111e9aa |
files | mercurial/minirst.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/minirst.py Wed Sep 14 22:28:27 2011 -0400 +++ b/mercurial/minirst.py Fri Sep 16 14:37:53 2011 -0500 @@ -239,10 +239,10 @@ # Always delete "..container:: type" block del blocks[i] j = i + i -= 1 while j < len(blocks) and blocks[j]['indent'] > indent: if prune: del blocks[j] - i -= 1 # adjust outer index else: blocks[j]['indent'] -= adjustment j += 1