summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-11-19 17:48:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-11-19 17:48:49 (GMT)
commit7a3bae410df3dd0032509b97077d0c4d98276fdd (patch)
treeec7d16e459de34e96981cf92543bb05d29265738 /Lib/bsddb
parent1c6b1a2b4ea38955a3f0514f4709bafd0be96c5e (diff)
downloadcpython-7a3bae410df3dd0032509b97077d0c4d98276fdd.zip
cpython-7a3bae410df3dd0032509b97077d0c4d98276fdd.tar.gz
cpython-7a3bae410df3dd0032509b97077d0c4d98276fdd.tar.bz2
Replace bsddb3 and _db occurrences.
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/db.py4
-rw-r--r--Lib/bsddb/dbshelve.py2
-rw-r--r--Lib/bsddb/dbtables.py2
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