diff --git a/tren.py b/tren.py index 797e922..c409a66 100755 --- a/tren.py +++ b/tren.py @@ -9,7 +9,7 @@ BASENAME = PROGNAME.split(".py")[0] PROGENV = BASENAME.upper() INCLENV = PROGENV + "INCL" -RCSID = "$Id: tren.py,v 1.232 2010/08/27 15:28:55 tundra Exp $" +RCSID = "$Id: tren.py,v 1.233 2010/08/27 15:39:21 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -942,6 +942,7 @@ for target in self.SortViews[ORDERBYCMDLINE]: oldname, pathname = self.RenNames[target][BASE], self.RenNames[target][PATHNAME] + newname = oldname name = oldname # Keep track of incremental renaming for use by debug @@ -953,7 +954,6 @@ lname = "" rname = "" - newname = "" tstart = renrequest[TARGETSTART] tend = renrequest[TARGETEND] @@ -984,7 +984,6 @@ if tstart > tend: ErrorMsg(eBADSLICE % "%d:%d" % (renrequest[TARGETSTART], renrequest[TARGETEND])) - # Condition and bounds check the target range as needed # Handle single position references