diff --git a/tren.py b/tren.py index e0885bd..4c3c66d 100755 --- a/tren.py +++ b/tren.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "tren" -RCSID = "$Id: tren.py,v 1.100 2010/01/14 18:24:02 tundra Exp $" +RCSID = "$Id: tren.py,v 1.101 2010/01/14 22:30:06 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -14,7 +14,7 @@ CPRT = "(c)" DATE = "2010" OWNER = "TundraWare Inc." -COPYRIGHT = "Copyright %s %s %s %s. " % (CPRT, DATE, OWNER) +COPYRIGHT = "Copyright %s %s %s " % (CPRT, DATE, OWNER) #----------------------------------------------------------# @@ -33,7 +33,6 @@ import getopt import os import sys -import tconfpy #----------------------------------------------------------# @@ -152,7 +151,7 @@ for opt, val in opts: if opt == "-f": - CFGFILE=val + print val if opt == "-h": Usage() sys.exit(0) @@ -160,16 +159,3 @@ print RCSID sys.exit(0) -# Process the configuration file - -retval = tconfpy.ParseConfig(CFGFILE, CallingProgram="%s %s " % (PROGNAME, VERSION)) - -# Print any errors or warning generated by the parse - -for x in (retval.ErrMsgs, retval.WarnMsgs): - for y in x: - print y - -# If there were any errors, we're done -if retval.ErrMsgs: - sys.exit(0)