Kaydet (Commit) 7a3bae41 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Replace bsddb3 and _db occurrences.

üst 1c6b1a2b
...@@ -37,8 +37,8 @@ ...@@ -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. ...@@ -31,7 +31,7 @@ storage.
#------------------------------------------------------------------------ #------------------------------------------------------------------------
import cPickle import cPickle
from bsddb3 import db from bsddb import db
#------------------------------------------------------------------------ #------------------------------------------------------------------------
......
...@@ -28,7 +28,7 @@ import xdrlib ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment