From 9afaa9f4d083fbe9b4981c060dbbf8e5dd7e9403 Mon Sep 17 00:00:00 2001 From: Christoph Kords Date: Mon, 29 Apr 2013 09:24:07 +0000 Subject: [PATCH] set "line breaks" and "keywords" property --- processing/post/marc_deformedGeometry.py | 2 +- processing/post/marc_extractData.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/processing/post/marc_deformedGeometry.py b/processing/post/marc_deformedGeometry.py index 1528c8dfb..1461d6b54 100755 --- a/processing/post/marc_deformedGeometry.py +++ b/processing/post/marc_deformedGeometry.py @@ -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', \ diff --git a/processing/post/marc_extractData.py b/processing/post/marc_extractData.py index 24f0cb64b..b0d590b18 100755 --- a/processing/post/marc_extractData.py +++ b/processing/post/marc_extractData.py @@ -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', \