[llvm-commits] [zorg] r151195 - /zorg/trunk/lnt/lnt/server/ui/views.py
Daniel Dunbar
daniel at zuster.org
Wed Feb 22 12:37:11 PST 2012
Author: ddunbar
Date: Wed Feb 22 14:37:11 2012
New Revision: 151195
URL: http://llvm.org/viewvc/llvm-project?rev=151195&view=rev
Log:
[lnt] lnt.server.ui.views/run overview: Bypass pointless routing through old
NTEmailReport module.
Modified:
zorg/trunk/lnt/lnt/server/ui/views.py
Modified: zorg/trunk/lnt/lnt/server/ui/views.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/lnt/lnt/server/ui/views.py?rev=151195&r1=151194&r2=151195&view=diff
==============================================================================
--- zorg/trunk/lnt/lnt/server/ui/views.py (original)
+++ zorg/trunk/lnt/lnt/server/ui/views.py Wed Feb 22 14:37:11 2012
@@ -782,11 +782,11 @@
self.compare_to = None
self.comparison_neighboring_runs = self.neighboring_runs
- _, self.text_report, self.html_report = NTEmailReport.getReport(
- result=None, db=self.db, run=self.run,
- baseurl=db_url_for('index', _external=True),
- was_added=True, will_commit=True, only_html_body=only_html_body,
- compare_to=self.compare_to)
+ reports = lnt.server.reporting.runs.generate_run_report(
+ self.run, baseurl=db_url_for('index', _external=True),
+ only_html_body=only_html_body,
+ result=None, compare_to=self.compare_to)
+ _, self.text_report, self.html_report = reports
@v4_route("/<int:id>/report")
def v4_report(id):
More information about the llvm-commits
mailing list