Commit c23f270c authored by Guido van Rossum's avatar Guido van Rossum

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

parent a37e095b
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment