remove redundant TagReport error line (the report's name)
svn: r18535
This commit is contained in:
parent
d13471f68d
commit
bc69fd6682
@ -592,6 +592,8 @@ def cl_report(database, name, category, report_class, options_class,
|
||||
(m1, m2) = msg.messages()
|
||||
print err_msg
|
||||
print m1
|
||||
if m2:
|
||||
print m2
|
||||
except:
|
||||
if len(log.handlers) > 0:
|
||||
log.error(err_msg, exc_info=True)
|
||||
|
@ -76,7 +76,7 @@ class TagReport(Report):
|
||||
menu = options.menu
|
||||
self.tag = menu.get_option_by_name('tag').get_value()
|
||||
if not self.tag:
|
||||
raise ReportError(_('Tag Report'),
|
||||
raise ReportError(
|
||||
_('You must first create a tag before running this report.'))
|
||||
|
||||
def write_report(self):
|
||||
|
Loading…
Reference in New Issue
Block a user