[Python-checkins] distutils2: Ran 2to3 on runtests.py, the resulting changes run clean on Python 2.4+

tarek.ziade python-checkins at python.org
Sun Mar 13 19:45:14 CET 2011


http://hg.python.org/distutils2/rev/001ff262c405
changeset:   1099:001ff262c405
user:        Arc Riley <arcriley at gmail.com>
date:        Sat Nov 20 14:00:56 2010 -0500
summary:
  Ran 2to3 on runtests.py, the resulting changes run clean on Python 2.4+

files:
  runtests.py

diff --git a/runtests.py b/runtests.py
--- a/runtests.py
+++ b/runtests.py
@@ -64,7 +64,7 @@
         # running coverage 2.x
         cov.cache = COVERAGE_FILE
         cov.restore()
-        morfs = [m for m in cov.cexecuted.keys() if "distutils2" in m]
+        morfs = [m for m in list(cov.cexecuted.keys()) if "distutils2" in m]
 
     prefixes = ["runtests", "distutils2/tests", "distutils2/_backport"]
     prefixes += ignore_prefixes(unittest)

-- 
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list