check for berkelydb versions besides 4.3 (#18734)

This commit is contained in:
Benjamin Peterson 2013-10-26 13:55:25 -04:00
parent bcf2fa7ea9
commit ef2436fb1c
1 changed files with 1 additions and 1 deletions

View File

@ -908,7 +908,7 @@ class PyBuildExt(build_ext):
if allow_db_ver((5, x)):
yield x
elif major == 4:
for x in range(max_db_ver[1]+1):
for x in range(9):
if allow_db_ver((4, x)):
yield x
elif major == 3: