More cleanup of debug output for command line and environment info.
1 parent 484884c commit 244dd2bf2b4461bf5719af03dbbbcd1071214f1b
@tundra tundra authored on 2 Feb 2010
Showing 1 changed file
View
8
tren.py
 
PROGNAME = "tren.py"
BASENAME = PROGNAME.split(".py")[0]
PROGENV = BASENAME.upper()
RCSID = "$Id: tren.py,v 1.133 2010/02/02 17:41:21 tundra Exp $"
RCSID = "$Id: tren.py,v 1.134 2010/02/02 17:49:53 tundra Exp $"
VERSION = RCSID.split()[2]
 
# Copyright Information
 
if ProgramOptions["DEBUG"]:
 
# Dump what we know about the command line
 
DebugMsg(ColumnPad([dCMDLINE, sys.argv]))
DebugMsg(ColumnPad([dPROGENV, os.getenv("TREN")]))
DebugMsg(ColumnPad([dRESOLVEDOPTS, OPTIONS]))
DumpList(DebugMsg, dCMDLINE, "", sys.argv)
DumpList(DebugMsg, dPROGENV, "", envopt)
DumpList(DebugMsg, dRESOLVEDOPTS, "", OPTIONS)
 
# Create and populate an object with rename targets. We have to
# do *before* we process any renaming requests because they may make
# reference to renaming tokens that only can be resolved with the