changeset 14168 | 135e244776f0 |
parent 13011 | 4936a04b6792 |
child 14433 | 7658221da551 |
--- a/mercurial/minirst.py Mon May 02 10:11:05 2011 +0200 +++ b/mercurial/minirst.py Mon May 02 10:11:18 2011 +0200 @@ -467,7 +467,7 @@ print return blocks - text = open(sys.argv[1]).read() + text = util.readfile(sys.argv[1]) blocks = debug(findblocks, text) blocks = debug(findliteralblocks, blocks) blocks, pruned = debug(prunecontainers, blocks, sys.argv[2:])