Random change to make this work unchanged when dict.keys() returns a dict view.

This commit is contained in:
Guido van Rossum 2007-02-10 22:53:17 +00:00
parent 3ac6741f79
commit 4e66dfcdc4
1 changed files with 1 additions and 2 deletions

View File

@ -688,8 +688,7 @@ class PyBuildExt(build_ext):
# 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()