diff setup.py @ 40807:f229645d607d

Random change to make this work unchanged when dict.keys() returns a dict view.
author Guido van Rossum <guido@python.org>
date Sat, 10 Feb 2007 22:53:17 +0000
parents 793e0323d4d6
children 32c4897b5d46
line wrap: on
line diff
--- a/setup.py	Sat Feb 10 18:55:06 2007 +0000
+++ b/setup.py	Sat Feb 10 22:53:17 2007 +0000
@@ -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()