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()
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to