minor changes in commit and setting the script ID properly

This commit is contained in:
Aritra Chakraborty 2015-08-29 15:10:43 +00:00
parent cff6307779
commit 115518a2c8
1 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import os,re,sys,string,fnmatch,math,random,numpy as np
from optparse import OptionParser from optparse import OptionParser
import damask import damask
scriptID = string.replace('$Id: fillTable.py$','\n','\\n') scriptID = '$Id$'
scriptName = os.path.splitext(scriptID.split()[1])[0] scriptName = os.path.splitext(scriptID.split()[1])[0]
def unravel(item): def unravel(item):
@ -60,7 +60,7 @@ for name in filenames:
except: continue except: continue
table.croak('\033[1m'+scriptName+'\033[0m'+(': '+name if name else '')) table.croak('\033[1m'+scriptName+'\033[0m'+(': '+name if name else ''))
# ------------------------------------------ assemble info --------------------------------------- # ------------------------------------------ assemble info -----------------------------------------
table.head_read() table.head_read()
# ------------------------------------------ Evaluate condition --------------------------------------- # ------------------------------------------ Evaluate condition ---------------------------------------