projects
/
dcpomatic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a739d5fddb6030fc995ad301ffc23a1ad1be82e6
[dcpomatic.git]
/
metadata_from_problem
1
#!/usr/bin/python3
2
3
import sys
4
5
on = False
6
for line in sys.stdin:
7
line = line.strip()
8
if line == '<?xml version="1.0" encoding="UTF-8"?>' or on:
9
print(line)
10
on = True
11
if line == '</Metadata>':
12
on = False
13
14