[Python-3000-checkins] r53727 - python/branches/p3yk/setup.py

guido.van.rossum python-3000-checkins at python.org
Sat Feb 10 23:53:18 CET 2007


Author: guido.van.rossum
Date: Sat Feb 10 23:53:17 2007
New Revision: 53727

Modified:
   python/branches/p3yk/setup.py
Log:
Random change to make this work unchanged when dict.keys() returns a dict view.


Modified: python/branches/p3yk/setup.py
==============================================================================
--- python/branches/p3yk/setup.py	(original)
+++ python/branches/p3yk/setup.py	Sat Feb 10 23:53:17 2007
@@ -688,8 +688,7 @@
                         # ignore this header, it didn't contain a version number
                         if db_setup_debug: print("db.h: unsupported version", db_ver, "in", d)
 
-            db_found_vers = db_ver_inc_map.keys()
-            db_found_vers.sort()
+            db_found_vers = sorted(db_ver_inc_map.keys())
 
             while db_found_vers:
                 db_ver = db_found_vers.pop()


More information about the Python-3000-checkins mailing list