From 7a3bae410df3dd0032509b97077d0c4d98276fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 19 Nov 2002 17:48:49 +0000 Subject: Replace bsddb3 and _db occurrences. --- Lib/bsddb/db.py | 4 ++-- Lib/bsddb/dbshelve.py | 2 +- Lib/bsddb/dbtables.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/bsddb/db.py b/Lib/bsddb/db.py index b4365d0..c1749df 100644 --- a/Lib/bsddb/db.py +++ b/Lib/bsddb/db.py @@ -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?" diff --git a/Lib/bsddb/dbshelve.py b/Lib/bsddb/dbshelve.py index ce4a466..ab63636 100644 --- a/Lib/bsddb/dbshelve.py +++ b/Lib/bsddb/dbshelve.py @@ -31,7 +31,7 @@ storage. #------------------------------------------------------------------------ import cPickle -from bsddb3 import db +from bsddb import db #------------------------------------------------------------------------ diff --git a/Lib/bsddb/dbtables.py b/Lib/bsddb/dbtables.py index 4e93451..f1e88f2 100644 --- a/Lib/bsddb/dbtables.py +++ b/Lib/bsddb/dbtables.py @@ -28,7 +28,7 @@ import xdrlib import re import copy -from bsddb3.db import * +from bsddb.db import * class TableDBError(StandardError): pass -- cgit v0.12