Catch loops in filters

svn: r1583
This commit is contained in:
Don Allingham
2003-05-23 04:08:03 +00:00
parent 11faa9beda
commit 8e21af4a49
16 changed files with 105 additions and 10 deletions

View File

@@ -409,6 +409,9 @@ class TimeLineDialog(Report.DrawReportDialog):
self.doc, self.filter, title, sort_func)
MyReport.setup()
MyReport.write_report()
except Errors.FilterError, msg:
(m1,m2) = msg.messages()
ErrorDialog(m1,m2)
except Errors.ReportError, msg:
(m1,m2) = msg.messages()
ErrorDialog(m1,m2)