From: R. David Murray Date: Wed, 28 Oct 2009 14:03:43 +0000 (+0000) Subject: Remove variable that is no longer used. X-Git-Tag: v2.7a1~206 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d913864efaa0b37db07df3d074649093bfae63af;p=python Remove variable that is no longer used. --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 8511ab1177..01cb5682b0 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: