mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +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
|
# case we ever want to augment the stuff in _db in any way. For now
|
||||||
# it just simply imports everything from _db.
|
# it just simply imports everything from _db.
|
||||||
|
|
||||||
from _db import *
|
from _bsddb import *
|
||||||
from _db import __version__
|
from _bsddb import __version__
|
||||||
|
|
||||||
if version() < (3, 1, 0):
|
if version() < (3, 1, 0):
|
||||||
raise ImportError, "BerkeleyDB 3.x symbols not found. Perhaps python was statically linked with an older version?"
|
raise ImportError, "BerkeleyDB 3.x symbols not found. Perhaps python was statically linked with an older version?"
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ storage.
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
|
||||||
import cPickle
|
import cPickle
|
||||||
from bsddb3 import db
|
from bsddb import db
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import xdrlib
|
||||||
import re
|
import re
|
||||||
import copy
|
import copy
|
||||||
|
|
||||||
from bsddb3.db import *
|
from bsddb.db import *
|
||||||
|
|
||||||
|
|
||||||
class TableDBError(StandardError): pass
|
class TableDBError(StandardError): pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue