Some bsddb changes
* allow to use bsddb3 as database via a config setting * set async write to disk to improve speed, eg import * 40 svn: r16446
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
import bsddb
|
||||
import config
|
||||
if config.get('preferences.use-bsddb3'):
|
||||
import bsddb3 as bsddb
|
||||
else:
|
||||
import bsddb
|
||||
import types
|
||||
from gen.ggettext import gettext as _
|
||||
|
||||
|
Reference in New Issue
Block a user