##// END OF EJS Templates
minirst: read test input from stdin
Martin Geisler -
r14433:7658221d default
parent child Browse files
Show More
@@ -467,10 +467,10 b' if __name__ == "__main__":'
467 print
467 print
468 return blocks
468 return blocks
469
469
470 text = util.readfile(sys.argv[1])
470 text = sys.stdin.read()
471 blocks = debug(findblocks, text)
471 blocks = debug(findblocks, text)
472 blocks = debug(findliteralblocks, blocks)
472 blocks = debug(findliteralblocks, blocks)
473 blocks, pruned = debug(prunecontainers, blocks, sys.argv[2:])
473 blocks, pruned = debug(prunecontainers, blocks, sys.argv[1:])
474 blocks = debug(inlineliterals, blocks)
474 blocks = debug(inlineliterals, blocks)
475 blocks = debug(splitparagraphs, blocks)
475 blocks = debug(splitparagraphs, blocks)
476 blocks = debug(updatefieldlists, blocks)
476 blocks = debug(updatefieldlists, blocks)
General Comments 0
You need to be logged in to leave comments. Login now