Enable Sqlite backend for all users
This commit is contained in:
parent
00715fc530
commit
f75a8f9497
@ -399,7 +399,6 @@ def show_settings():
|
||||
print(' version : %s' % bsddb_str)
|
||||
print(' db version : %s' % bsddb_db_str)
|
||||
print(' location : %s' % bsddb_location_str)
|
||||
if __debug__:
|
||||
print(' sqlite3 :')
|
||||
print(' version : %s' % sqlite3_version_str)
|
||||
print(' py version : %s' % sqlite3_py_version_str)
|
||||
|
@ -130,8 +130,6 @@ class GrampsAboutDialog(Gtk.AboutDialog):
|
||||
if hasattr(os, "uname"):
|
||||
distro = "\n" + _("Distribution: %s") % ellipses(os.uname()[2])
|
||||
|
||||
sqlite = ''
|
||||
if __debug__:
|
||||
sqlite = "sqlite" + COLON + " %s (%s)\n" % (sqlite3_version_str,
|
||||
sqlite3_py_version_str)
|
||||
|
||||
|
@ -1463,7 +1463,6 @@ class GrampsPreferences(ConfigureDialog):
|
||||
|
||||
current_line = 0
|
||||
|
||||
if __debug__:
|
||||
lwidget = BasicLabel(_("%s: ") % _('Database backend'))
|
||||
grid.attach(lwidget, 1, current_line, 1, 1)
|
||||
obox = self.__create_backend_combo()
|
||||
|
@ -285,9 +285,6 @@ class DbManager(CLIDbManager, ManagedWindow):
|
||||
# Get the current selection
|
||||
store, node = selection.get_selected()
|
||||
|
||||
if not __debug__:
|
||||
self.convert_btn.set_visible(False)
|
||||
|
||||
if not _RCS_FOUND: # it's not in Windows
|
||||
self.rcs_btn.set_visible(False)
|
||||
|
||||
|
@ -173,8 +173,6 @@ class ErrorReportAssistant(ManagedWindow, Gtk.Assistant):
|
||||
if hasattr(os, "uname"):
|
||||
distribution = "Distribution: %s\n" % os.uname()[2]
|
||||
|
||||
sqlite = ''
|
||||
if __debug__:
|
||||
sqlite = "sqlite version: %s (%s) \n" % (sqlite3_version_str,
|
||||
sqlite3_py_version_str)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user