remove redundant TagReport error line (the report's name)

svn: r18535
This commit is contained in:
Paul Franklin 2011-11-29 21:50:22 +00:00
parent d13471f68d
commit bc69fd6682
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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):