changeset 18 | de5b887c98f7 |
parent 13 | c327db0664bb |
14:eb060913c963 | 18:de5b887c98f7 |
---|---|
25 |
25 |
26 |
26 |
27 retcode=0 |
27 retcode=0 |
28 |
28 |
29 |
29 |
30 annofile = sys.argv[1] |
30 if len(sys.argv) > 1: |
31 annofile = sys.argv[1] |
|
32 else: |
|
33 annofile = sys.stdin |
|
31 |
34 |
32 sys.stdout.write("<build>\n") |
35 sys.stdout.write("<build>\n") |
33 try: |
36 try: |
34 for l in XMLEscapeLog(AnnoFileParseOutput(annofile)): |
37 for l in XMLEscapeLog(AnnoFileParseOutput(annofile)): |
35 sys.stdout.write(l) |
38 sys.stdout.write(l) |