set "line breaks" and "keywords" property
This commit is contained in:
parent
fbb8353bba
commit
9afaa9f4d0
|
@ -33,7 +33,7 @@ class MyOption(Option):
|
|||
|
||||
parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """
|
||||
Extract data from a .t16 (MSC.Marc) results file.
|
||||
""" + string.replace('$Id: postResults.py 2107 2013-01-28 16:25:43Z MPIE\p.eisenlohr $','\n','\\n')
|
||||
""" + string.replace('$Id$','\n','\\n')
|
||||
)
|
||||
|
||||
parser.add_option('-d','--dir', dest='dir', \
|
||||
|
|
|
@ -260,7 +260,7 @@ def writeHeader(myfile,stat,geomtype):
|
|||
# -----------------------------
|
||||
|
||||
myfile.write('2\theader\n')
|
||||
myfile.write(string.replace('$Id: $','\n','\\n')+
|
||||
myfile.write(string.replace('$Id$','\n','\\n')+
|
||||
'\t' + ' '.join(sys.argv[1:]) + '\n')
|
||||
if geomtype == 'nodebased':
|
||||
myfile.write('node')
|
||||
|
@ -286,7 +286,7 @@ def writeHeader(myfile,stat,geomtype):
|
|||
|
||||
parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """
|
||||
Extract data from a .t16 (MSC.Marc) results file.
|
||||
""" + string.replace('$Id: marc_extractData.py $','\n','\\n')
|
||||
""" + string.replace('$Id$','\n','\\n')
|
||||
)
|
||||
|
||||
parser.add_option('-i','--info', action='store_true', dest='info', \
|
||||
|
|
Loading…
Reference in New Issue