mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Replace bsddb3 and _db occurrences.
This commit is contained in:
parent
1c6b1a2b4e
commit
7a3bae410d
3 changed files with 4 additions and 4 deletions
|
|
@ -37,8 +37,8 @@
|
|||
# case we ever want to augment the stuff in _db in any way. For now
|
||||
# it just simply imports everything from _db.
|
||||
|
||||
from _db import *
|
||||
from _db import __version__
|
||||
from _bsddb import *
|
||||
from _bsddb import __version__
|
||||
|
||||
if version() < (3, 1, 0):
|
||||
raise ImportError, "BerkeleyDB 3.x symbols not found. Perhaps python was statically linked with an older version?"
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ storage.
|
|||
#------------------------------------------------------------------------
|
||||
|
||||
import cPickle
|
||||
from bsddb3 import db
|
||||
from bsddb import db
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import xdrlib
|
|||
import re
|
||||
import copy
|
||||
|
||||
from bsddb3.db import *
|
||||
from bsddb.db import *
|
||||
|
||||
|
||||
class TableDBError(StandardError): pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue