added $Id$ login name escaping

This commit is contained in:
Philip Eisenlohr 2011-08-18 07:53:07 +00:00
parent 164da22730
commit 10493ea8b0
3 changed files with 16 additions and 11 deletions

View File

@ -164,7 +164,12 @@ def servoLink():
# ----------------------- MAIN ------------------------------- # ----------------------- MAIN -------------------------------
parser = OptionParser() parser = OptionParser(usage='%prog [options]', description = """
Set up servo linking to achieve periodic boundary conditions for a regular hexahedral mesh presently opened in MSC.Mentat
""" + string.replace('$Id: spectral_iterationCount 919 2011-06-15 18:14:05Z MPIE\p.eisenlohr $','\n','\\n')
)
parser.add_option("-p", "--port", type="int",\ parser.add_option("-p", "--port", type="int",\
dest="port",\ dest="port",\
help="Mentat connection port [%default]") help="Mentat connection port [%default]")

View File

@ -233,8 +233,8 @@ Acceptable formats are
geom: header plus list of grain numbers or geom: header plus list of grain numbers or
spectral: phi1,Phi,phi2,x,y,z,id,phase. spectral: phi1,Phi,phi2,x,y,z,id,phase.
$Id$ """ + string.replace('$Id$','\n','\\n')
""") )
parser.add_option("-p", "--port", type="int",\ parser.add_option("-p", "--port", type="int",\
dest="port",\ dest="port",\
help="Mentat connection port") help="Mentat connection port")

View File

@ -99,8 +99,8 @@ mapping = {
parser = OptionParser(option_class=extendedOption, usage='%prog geomfile[s]', description = """ parser = OptionParser(option_class=extendedOption, usage='%prog geomfile[s]', description = """
Produce VTK point file from geom data Produce VTK point file from geom data
$Id$ """ + string.replace('$Id$','\n','\\n')
""") )
(options, args) = parser.parse_args() (options, args) = parser.parse_args()