From d913864efaa0b37db07df3d074649093bfae63af Mon Sep 17 00:00:00 2001 From: "R. David Murray" Date: Wed, 28 Oct 2009 14:03:43 +0000 Subject: Remove variable that is no longer used. --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 8511ab1..01cb568 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -1462,7 +1462,7 @@ if __name__ == '__main__': # much of the testing framework relies on the globals in the # test.test_support module. mydir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0]))) - i = pathlen = len(sys.path) + i = len(sys.path) while i >= 0: i -= 1 if os.path.abspath(os.path.normpath(sys.path[i])) == mydir: -- cgit v0.12