minirst: fix debug code stable
authorMartin Geisler <mg@lazybytes.net>
Mon, 17 May 2010 20:42:28 +0200
branchstable
changeset 11187 db2897926d14
parent 11182 3c368a1c962d
child 11188 b5c0f6a11430
minirst: fix debug code
mercurial/minirst.py
--- 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)