* src/ReportBase/_ReportDialog.py: 0000905: Typo in catching exceptions in buggy reports
svn: r8066
This commit is contained in:
parent
9812710d87
commit
2461850cbc
@ -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-05 Don Allingham <don@gramps-project.org>
|
||||
* src/DataViews/_MediaView.py: view export support
|
||||
* src/DataViews/_RepositoryView.py: view export support
|
||||
|
@ -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