summaryrefslogtreecommitdiffstats
path: root/test/ZIP/ZIPCOMSTR-fixture/myzip.py
blob: f0fcc5133d50ece9532ed597c460311900fe31aa (plain)
1
2
3
4
5
6
7
import sys
outfile = open(sys.argv[1], 'wb')
for f in sys.argv[2:]:
    infile = open(f, 'rb')
    for l in [l for l in infile.readlines() if l != b'/*zip*/\n']:
        outfile.write(l)
sys.exit(0)