source:
CMIP6dreqbuild/trunk/inputs/pcfg1.py
@
322
Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreqbuild/trunk/inputs/pcfg1.py@553
Revision 322, 250 bytes checked in by mjuckes, 7 years ago (diff) |
---|
Line | |
---|---|
1 | import string |
2 | |
3 | s = 'zip templates.zip ' |
4 | for i in open('cfg1.txt').readlines(): |
5 | if i[:2] == './': |
6 | mip = string.strip(i)[2:-1] |
7 | elif i[:2] in ['++','--','**']: |
8 | f = string.strip( i[3:] ) |
9 | print mip, f |
10 | s += ' %s/%s' % (mip,f ) |
11 | |
12 | print s |
Note: See TracBrowser
for help on using the repository browser.