Get BSD DB working most for version 3.2

This commit is contained in:
Neal Norwitz 2005-10-20 04:36:08 +00:00
parent 8456235088
commit 40563eddf1
1 changed files with 2 additions and 0 deletions

View File

@ -372,6 +372,8 @@ def _checkflag(flag, file):
try: try:
import thread import thread
del thread del thread
if db.version() < (3, 3, 0):
db.DB_THREAD = 0
except ImportError: except ImportError:
db.DB_THREAD = 0 db.DB_THREAD = 0