Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a3bae4

Browse files
committed
Replace bsddb3 and _db occurrences.
1 parent 1c6b1a2 commit 7a3bae4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Lib/bsddb/db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
# case we ever want to augment the stuff in _db in any way. For now
3838
# it just simply imports everything from _db.
3939

40-
from _db import *
41-
from _db import __version__
40+
from _bsddb import *
41+
from _bsddb import __version__
4242

4343
if version() < (3, 1, 0):
4444
raise ImportError, "BerkeleyDB 3.x symbols not found. Perhaps python was statically linked with an older version?"

Lib/bsddb/dbshelve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#------------------------------------------------------------------------
3232

3333
import cPickle
34-
from bsddb3 import db
34+
from bsddb import db
3535

3636
#------------------------------------------------------------------------
3737

Lib/bsddb/dbtables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import re
2929
import copy
3030

31-
from bsddb3.db import *
31+
from bsddb.db import *
3232

3333

3434
class TableDBError(StandardError): pass

0 commit comments

Comments
 (0)