same as previous commit, allow bsddb3 use

svn: r16447
This commit is contained in:
Benny Malengier 2011-01-23 21:27:34 +00:00
parent b3beba53d8
commit 18bb7615c3

View File

@ -27,9 +27,11 @@
# python modules
#
#-------------------------------------------------------------------------
import config
if config.get('preferences.use-bsddb3'):
from bsddb3 import db as bsddb_db
else:
from bsddb import db as bsddb_db
from gen.ggettext import gettext as _
from DdTargets import DdTargets
import cPickle as pickle
#-------------------------------------------------------------------------
@ -45,6 +47,8 @@ log = logging.getLogger(".")
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
from gen.ggettext import gettext as _
from DdTargets import DdTargets
import gtk
from gtk import gdk
import pango