changeset 11187:db2897926d14 stable

minirst: fix debug code
author Martin Geisler <mg@lazybytes.net>
date Mon, 17 May 2010 20:42:28 +0200
parents 3c368a1c962d
children b5c0f6a11430
files mercurial/minirst.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/minirst.py	Mon May 03 14:00:34 2010 -0500
+++ b/mercurial/minirst.py	Mon May 17 20:42:28 2010 +0200
@@ -357,7 +357,7 @@
     text = open(sys.argv[1]).read()
     blocks = debug(findblocks, text)
     blocks = debug(findliteralblocks, blocks)
-    blocks = debug(prunecontainers, blocks, sys.argv[2:])
+    blocks, pruned = debug(prunecontainers, blocks, sys.argv[2:])
     blocks = debug(inlineliterals, blocks)
     blocks = debug(splitparagraphs, blocks)
     blocks = debug(updatefieldlists, blocks)