mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Get BSD DB working most for version 3.2
This commit is contained in:
parent
8456235088
commit
40563eddf1
1 changed files with 2 additions and 0 deletions
|
@ -372,6 +372,8 @@ def _checkflag(flag, file):
|
|||
try:
|
||||
import thread
|
||||
del thread
|
||||
if db.version() < (3, 3, 0):
|
||||
db.DB_THREAD = 0
|
||||
except ImportError:
|
||||
db.DB_THREAD = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue