diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-02-08 15:33:35 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-02-08 15:33:35 +0100 |
commit | b34d40d45a95afc22dc2884f05b86d1d20052b03 (patch) | |
tree | 89c639cb17e7e40597052cdfaca1ca2d899624f2 | |
parent | 7f33103ce5bc8f92c0748407c784ece6daf5d97b (diff) | |
download | rnc2rng-b34d40d45a95afc22dc2884f05b86d1d20052b03.tar.gz rnc2rng-b34d40d45a95afc22dc2884f05b86d1d20052b03.tar.xz rnc2rng-b34d40d45a95afc22dc2884f05b86d1d20052b03.zip |
rnctree.py: make it usable as an stdin-stdout filter
Previous behaviour can be achieved setting debug flags.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-x | rnctree.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -606,4 +606,4 @@ def make_nodetree(tokens): if __name__ == '__main__': - make_nodetree(token_list(sys.stdin.read())).prettyprint() + print make_nodetree(token_list(sys.stdin.read())).toxml() |