commit | 40563eddf17f072a74eba0bf7b77229f77bcc3d3 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Thu Oct 20 04:36:08 2005 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Thu Oct 20 04:36:08 2005 +0000 |
tree | bcf7c611f774ec34f368ab1e56cebb2c97b6d806 | |
parent | 8456235088451836dc14492492e1735124f6dee4 [diff] |
Get BSD DB working most for version 3.2
diff --git a/Lib/bsddb/__init__.py b/Lib/bsddb/__init__.py index 0fc1892..cfe554b 100644 --- a/Lib/bsddb/__init__.py +++ b/Lib/bsddb/__init__.py
@@ -372,6 +372,8 @@ try: import thread del thread + if db.version() < (3, 3, 0): + db.DB_THREAD = 0 except ImportError: db.DB_THREAD = 0