diff --git a/tconfpy.py b/tconfpy.py index e5bc225..682c10c 100755 --- a/tconfpy.py +++ b/tconfpy.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "tconfpy" -RCSID = "$Id: tconfpy.py,v 1.174 2004/04/14 22:46:24 tundra Exp $" +RCSID = "$Id: tconfpy.py,v 1.175 2004/04/14 23:33:12 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -73,12 +73,13 @@ EQUAL = r'=' # Used in vbl definition EQUIV = r"==" # Used in conditional tests NAMESPACE = "NAMESPACE" # Key used to get current namespace -NSSEP = '.' # Namespace separator character +PERIOD = r'.' +NSSEP = PERIOD # Namespace separator character NOTEQUIV = r"!=" # Used in conditional tests # Control and conditional symbols -CONDINTRO = '.' # Conditional introducer token +CONDINTRO = PERIOD # Conditional introducer token INCLUDE = CONDINTRO + "include" IF = CONDINTRO + "if" IFALL = IF + "all" @@ -91,7 +92,7 @@ # Pre-Defined System Symbols -PREDEFINTRO = '.' +PREDEFINTRO = PERIOD Predefined = {"DELIML" : DELIML, "DELIMR" : DELIMR, @@ -109,7 +110,7 @@ "INCLUDE" : INCLUDE, "LITERAL" : LITERAL, "NOTEQUIV" : NOTEQUIV, - "NSSEP" : NSSEP, + "PERIOD" : PERIOD, PREDEFINTRO + "MACHINENAME" : platform.node(), PREDEFINTRO + "OSDETAILS" : platform.platform(), PREDEFINTRO + "OSNAME" : platform.system(),