mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Everything worked in both the distutils distro and in Python 2.3cvs,
so merge from the bsddb-bsddb3-schizo-branch back to the trunk.
This commit is contained in:
parent
a6ae9a2128
commit
f71de3e9a0
18 changed files with 213 additions and 119 deletions
|
|
@ -16,7 +16,12 @@ except ImportError:
|
|||
import unittest
|
||||
from test_all import verbose
|
||||
|
||||
from bsddb import db, dbshelve
|
||||
try:
|
||||
# For Python 2.3
|
||||
from bsddb import db, dbshelve
|
||||
except ImportError:
|
||||
# For earlier Pythons w/distutils pybsddb
|
||||
from bsddb3 import db, dbshelve
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue