[Python-checkins] r75922 - in python/branches/py3k: Lib/test/regrtest.py

r.david.murray python-checkins at python.org
Wed Oct 28 15:07:51 CET 2009


Author: r.david.murray
Date: Wed Oct 28 15:07:51 2009
New Revision: 75922

Log:
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.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/regrtest.py

Modified: python/branches/py3k/Lib/test/regrtest.py
==============================================================================
--- python/branches/py3k/Lib/test/regrtest.py	(original)
+++ python/branches/py3k/Lib/test/regrtest.py	Wed Oct 28 15:07:51 2009
@@ -1368,7 +1368,7 @@
     # 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:


More information about the Python-checkins mailing list