Merged revisions 75920 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines

  Remove variable that is no longer used.
........
This commit is contained in:
R. David Murray 2009-10-28 14:07:51 +00:00
parent 4c7b532318
commit 7b1b094ff1
1 changed files with 1 additions and 1 deletions

View File

@ -1368,7 +1368,7 @@ if __name__ == '__main__':
# much of the testing framework relies on the globals in the
# 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: