From 47fe5af7c2dfacbc1fc6ac44ae70910ac9fa8a23 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 26 Nov 2006 03:28:01 +0000 Subject: [PATCH] * src/GrampsLogger/_ErrorReportAssistant.py (_get_sys_information): Report BSDDB version. svn: r7698 --- gramps2/ChangeLog | 2 ++ gramps2/src/GrampsLogger/_ErrorReportAssistant.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 987b1b4c0..49016aa90 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2006-11-25 Alex Roitman + * src/GrampsLogger/_ErrorReportAssistant.py + (_get_sys_information): Report BSDDB version. * src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): Use per-database environment dirs, under ~/.gramps/env dir. * src/const.py.in (env_dir): Add new variable. diff --git a/gramps2/src/GrampsLogger/_ErrorReportAssistant.py b/gramps2/src/GrampsLogger/_ErrorReportAssistant.py index e9e1c1348..74bc573e0 100644 --- a/gramps2/src/GrampsLogger/_ErrorReportAssistant.py +++ b/gramps2/src/GrampsLogger/_ErrorReportAssistant.py @@ -1,6 +1,6 @@ from gettext import gettext as _ -import sys,os +import sys,os,bsddb import const import gtk @@ -89,11 +89,13 @@ class ErrorReportAssistant: distribution = " " return "Python version: %s \n"\ + "BSDDB version: %s \n"\ "Gramps version: %s \n"\ "LANG: %s\n"\ "OS: %s\n"\ "Distribution: %s\n"\ % (str(sys.version).replace('\n',''), + str(bsddb.__version__), str(const.version), os.environ.get('LANG',''), operatingsystem,