set "line breaks" and "keywords" property

This commit is contained in:
Christoph Kords 2013-04-29 09:24:07 +00:00
parent fbb8353bba
commit 9afaa9f4d0
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ class MyOption(Option):
parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """ parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """
Extract data from a .t16 (MSC.Marc) results file. 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', \ parser.add_option('-d','--dir', dest='dir', \

View File

@ -260,7 +260,7 @@ def writeHeader(myfile,stat,geomtype):
# ----------------------------- # -----------------------------
myfile.write('2\theader\n') 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') '\t' + ' '.join(sys.argv[1:]) + '\n')
if geomtype == 'nodebased': if geomtype == 'nodebased':
myfile.write('node') myfile.write('node')
@ -286,7 +286,7 @@ def writeHeader(myfile,stat,geomtype):
parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """ parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """
Extract data from a .t16 (MSC.Marc) results file. 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', \ parser.add_option('-i','--info', action='store_true', dest='info', \