[Python-checkins] cpython (2.7): check for berkelydb versions besides 4.3 (#18734)

benjamin.peterson python-checkins at python.org
Sat Oct 26 19:55:33 CEST 2013


http://hg.python.org/cpython/rev/fae0a09f0f60
changeset:   86664:fae0a09f0f60
branch:      2.7
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Oct 26 13:55:25 2013 -0400
summary:
  check for berkelydb versions besides 4.3 (#18734)

files:
  setup.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -908,7 +908,7 @@
                     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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list