* src/ReportBase/_ReportDialog.py: 0000905: Typo in catching exceptions in buggy reports
svn: r8067
This commit is contained in:
parent
4be7ac543c
commit
5b58023ce6
@ -1,3 +1,7 @@
|
||||
2007-02-06 Douglas Blank <dblank@cs.brynmawr.edu>
|
||||
* src/ReportBase/_ReportDialog.py: 0000905: Typo in catching exceptions in
|
||||
buggy reports
|
||||
|
||||
2007-02-06 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDb/_ReadGedcom.py: fix cal/est parsing
|
||||
* src/DisplayTabs/_ButtonTab.py: catch window already being open
|
||||
|
@ -667,11 +667,11 @@ def report(dbstate,uistate,person,report_class,options_class,
|
||||
elif category in (CATEGORY_BOOK,CATEGORY_CODE,CATEGORY_VIEW,CATEGORY_WEB):
|
||||
try:
|
||||
report_class(dbstate,uistate,person)
|
||||
except Error, msg:
|
||||
ErrorDialog(_("Error generating report"),
|
||||
str(msg))
|
||||
except Errors.WindowActiveError:
|
||||
pass
|
||||
except Exception, msg:
|
||||
ErrorDialog(_("Error generating report"),
|
||||
str(msg))
|
||||
return
|
||||
else:
|
||||
dialog_class = ReportDialog
|
||||
|
Loading…
Reference in New Issue
Block a user