Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:13

0001 import sys
0002 
0003 fileIN = open(sys.argv[1], "r")
0004 line = fileIN.readline()
0005 
0006 while line:
0007   if line.startswith('  PROD1') :
0008     line = line.lstrip(' ')
0009     s2 = line.split(' ',2)
0010     sys.stdout.write('  ')
0011     sys.stdout.write(s2[0])
0012     sys.stdout.write(' ')
0013     sys.stdout.write(s2[1])
0014     sys.stdout.write('\n')
0015   else:
0016     sys.stdout.write(line)
0017   line = fileIN.readline()