9383: the Family Tree Manager dialog should show the database type

This commit is contained in:
Paul Franklin 2016-04-22 08:31:51 -07:00
parent 048151f447
commit c27f663137

View File

@ -310,6 +310,7 @@ def show_settings():
grampsi18n_str = get_env_var('GRAMPSI18N', 'not set') grampsi18n_str = get_env_var('GRAMPSI18N', 'not set')
grampshome_str = get_env_var('GRAMPSHOME', 'not set') grampshome_str = get_env_var('GRAMPSHOME', 'not set')
grampsdir_str = get_env_var('GRAMPSDIR', 'not set') grampsdir_str = get_env_var('GRAMPSDIR', 'not set')
gramps_resources_str = get_env_var('GRAMPS_RESOURCES', 'not set')
try: try:
dotversion_str = Popen(['dot', '-V'], stderr=PIPE).communicate(input=None)[1] dotversion_str = Popen(['dot', '-V'], stderr=PIPE).communicate(input=None)[1]
@ -362,6 +363,8 @@ def show_settings():
print(' GRAMPSI18N: %s' % grampsi18n_str) print(' GRAMPSI18N: %s' % grampsi18n_str)
print(' GRAMPSHOME: %s' % grampshome_str) print(' GRAMPSHOME: %s' % grampshome_str)
print(' GRAMPSDIR : %s' % grampsdir_str) print(' GRAMPSDIR : %s' % grampsdir_str)
if __debug__:
print(' GRAMPS_RESOURCES : %s' % gramps_resources_str)
print(' PYTHONPATH:') print(' PYTHONPATH:')
for folder in sys.path: for folder in sys.path:
print(" ", folder) print(" ", folder)