Replace bsddb3 and _db occurrences.

This commit is contained in:
Martin v. Löwis 2002-11-19 17:48:49 +00:00
parent 1c6b1a2b4e
commit 7a3bae410d
3 changed files with 4 additions and 4 deletions

View file

@ -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?"

View file

@ -31,7 +31,7 @@ storage.
#------------------------------------------------------------------------ #------------------------------------------------------------------------
import cPickle import cPickle
from bsddb3 import db from bsddb import db
#------------------------------------------------------------------------ #------------------------------------------------------------------------

View file

@ -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