Functions | Variables
FTSUtils Namespace Reference

Functions

def getMessageCategory (msg)
 good states More...
 

Variables

 FTSInstanceConfig = os.path.expandvars("$NOVAPRODVALID_TOP/python/fts/FTSInstances.cfg")
 
 FTSDataFile = os.path.expandvars("$NOVAPRODVALID_DATA/fts/filestates.csv")
 
 msgPatterns = OrderedDict()
 

Function Documentation

def FTSUtils.getMessageCategory (   msg)

good states

pending states bad states

Definition at line 34 of file FTSUtils.py.

References cafExposure.match.

35  for category in msgPatterns:
36  if msgPatterns[category].match(msg): return category
37 
38  print "WARNING: msg does not match known categories. Message content:"
39  print msg
40  return "Unknown"
41 
def getMessageCategory(msg)
good states
Definition: FTSUtils.py:34

Variable Documentation

FTSUtils.FTSDataFile = os.path.expandvars("$NOVAPRODVALID_DATA/fts/filestates.csv")

Definition at line 7 of file FTSUtils.py.

FTSUtils.FTSInstanceConfig = os.path.expandvars("$NOVAPRODVALID_TOP/python/fts/FTSInstances.cfg")

Definition at line 6 of file FTSUtils.py.

FTSUtils.msgPatterns = OrderedDict()

Definition at line 9 of file FTSUtils.py.