[LNT] r274062 - Also, don't even try and render a bad baseline
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 13:49:28 PDT 2016
Author: cmatthews
Date: Tue Jun 28 15:49:27 2016
New Revision: 274062
URL: http://llvm.org/viewvc/llvm-project?rev=274062&view=rev
Log:
Also, don't even try and render a bad baseline
Modified:
lnt/trunk/lnt/server/ui/views.py
Modified: lnt/trunk/lnt/server/ui/views.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/views.py?rev=274062&r1=274061&r2=274062&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Tue Jun 28 15:49:27 2016
@@ -1418,8 +1418,9 @@ def v4_matrix():
# Well, there is a baseline, but we did not find data for it...
# So lets revert back to the first run.
print "Did not find baseline, switching to", backup_baseline
- flash("Did not find data for baseline. Switching to " +
- backup_baseline, FLASH_DANGER)
+ msg = "Did not find data for baseline {}. Switching to {}."
+ flash(msg.format(baseline_rev, backup_baseline), FLASH_DANGER)
+ all_orders.remove(baseline_rev)
baseline_rev = backup_baseline
all_orders = list(all_orders)
More information about the llvm-commits
mailing list