Changeset 1716 for XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/config.py
- Timestamp:
- 09/17/19 11:03:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/config.py
r1713 r1716 39 39 fileout = open("iodef.xml.tmp", "w") 40 40 for line in filein: 41 if 'xios::nbplSrv2' in line: 42 line = line.replace("xios::nbplSrv2", repr(NumberPoolsServer2)) 43 fileout.write(line) 44 elif 'xios::usingSrv2' in line: 45 line = line.replace("xios::usingSrv2", UsingServer2) 46 fileout.write(line) 47 elif 'xios::ratioSrv2' in line: 48 line=line.replace("xios::ratioSrv2", repr(RatioServer2)) 49 fileout.write(line) 50 elif 'atm::domain' in line: 51 line=line.replace("atm::domain", ATMdomain) 52 fileout.write(line) 53 else: 54 fileout.write(line) 41 if 'xios::nbplSrv2' in line: line = line.replace("xios::nbplSrv2", repr(NumberPoolsServer2)) 42 if 'xios::usingSrv2' in line: line = line.replace("xios::usingSrv2", UsingServer2) 43 if 'xios::ratioSrv2' in line: line=line.replace("xios::ratioSrv2", repr(RatioServer2)) 44 if 'atm::domain' in line: line=line.replace("atm::domain", ATMdomain) 45 fileout.write(line) 46 55 47 56 48 filein.close()
Note: See TracChangeset
for help on using the changeset viewer.