diff --git a/tren.py b/tren.py index 6554430..cf6e691 100755 --- a/tren.py +++ b/tren.py @@ -7,7 +7,7 @@ PROGNAME = "tren.py" PROGENV = PROGNAME.split(".py")[0].upper() -RCSID = "$Id: tren.py,v 1.113 2010/01/27 17:34:57 tundra Exp $" +RCSID = "$Id: tren.py,v 1.114 2010/01/27 18:04:55 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -74,6 +74,7 @@ ##### ALL = "All" # Rename target is whole filename +ARROW = "--->" # Text pointer COMMENT = "#" # Comment character in include files EXT = "Ext" # Rename target is extension EXTDELIM = "." # Extension delimeter @@ -101,6 +102,9 @@ dPAIR = "Option/Target Pair" dPROGENV = "$" + PROGENV dRESOLVEDOPTS = "Resolved Command Line" +dSEQCMD = "Command Line Sequence:" +dSEQSIZE = "Size Sequence:" +dSEQCTIME = "Creation Time Sequence:" dTARGETS = "Rename Targets: %s" @@ -291,11 +295,31 @@ DebugMsg(dDUMPOBJ % str(obj)) DebugMsg(SEPARATOR) + # Dump abspath, basename, & stat information + for name in obj.RenNames: DebugMsg(name) for item in obj.RenNames[name]: DebugMsg(ColumnPad([dELLIPSIS, item])) + # Dump command line sequence + + DebugMsg(dSEQCMD) + for item in obj.cmdorder: + DebugMsg(ColumnPad([dELLIPSIS, item])) + + # Dump creation date sequence + + DebugMsg(dSEQCTIME) + for item in obj.ByCtime: + DebugMsg(ColumnPad([dELLIPSIS, " %s %s %s" % (item, ARROW, obj.ctimes[item])])) + + # Dump size sequence + + DebugMsg(dSEQSIZE) + for item in obj.BySize: + DebugMsg(ColumnPad([dELLIPSIS, " %s %s %s" % (item, ARROW, obj.sizes[item])])) + DebugMsg(SEPARATOR + "\n\n") # End of 'DumpRenameObj()'