Skip to content

Commit 40563ed

Browse files
committed
Get BSD DB working most for version 3.2
1 parent 8456235 commit 40563ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/bsddb/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ def _checkflag(flag, file):
372372
try:
373373
import thread
374374
del thread
375+
if db.version() < (3, 3, 0):
376+
db.DB_THREAD = 0
375377
except ImportError:
376378
db.DB_THREAD = 0
377379

0 commit comments

Comments
 (0)