diff --git a/tren.py b/tren.py index fdfbfe1..fa23f43 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.121 2010/01/29 21:07:17 tundra Exp $" +RCSID = "$Id: tren.py,v 1.122 2010/01/29 21:18:35 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -484,6 +484,24 @@ ##### +# Parse Renaming Requests +##### + +def ParseRenReq(val, filename): + + """ This routine parses a old=new + renaming pair, resolves any + outstanding renaming tokens, + and returns them in the form + of: [old, new] + """ + + return val.split("=") + +# End of 'ParseRenReq()' + + +##### # Print To stderr ##### @@ -602,17 +620,6 @@ ##### -# Process Command Line Renaming Requests -##### - -def ProcessRenReq(val): - - return val.split("=") - -# End of 'ProcessRenReq()' - - -##### # Print Usage Information ##### @@ -744,7 +751,7 @@ if opt == "-q": QUIET = True if opt == "-r": - RenRequests.append(ProcessRenReq(val)) + RenRequests.append(val) if opt == "-t": TESTMODE = True if opt == "-v":