diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-10-28 14:03:43 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-10-28 14:03:43 (GMT) |
commit | d913864efaa0b37db07df3d074649093bfae63af (patch) | |
tree | 7d9e96f1b8481923c2e9e65571043eb5d2bfd298 /Lib/test | |
parent | 129c97df02c7cd42e9c777bd75c6f81655ac024c (diff) | |
download | cpython-d913864efaa0b37db07df3d074649093bfae63af.zip cpython-d913864efaa0b37db07df3d074649093bfae63af.tar.gz cpython-d913864efaa0b37db07df3d074649093bfae63af.tar.bz2 |
Remove variable that is no longer used.
Diffstat (limited to 'Lib/test')
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |