]> granicus.if.org Git - python/commitdiff
Merged revisions 75920 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Wed, 28 Oct 2009 14:05:34 +0000 (14:05 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 28 Oct 2009 14:05:34 +0000 (14:05 +0000)
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.
........

Lib/test/regrtest.py

index edff8bcde616143dab927a56fe289b1c30fd9467..fde5ff4fca9166a219828afd9668dc325c97e223 100755 (executable)
@@ -1187,7 +1187,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: