[LNT] r258451 - Dont flash the wrong thing

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 15:28:46 PST 2016


Author: cmatthews
Date: Thu Jan 21 17:28:46 2016
New Revision: 258451

URL: http://llvm.org/viewvc/llvm-project?rev=258451&view=rev
Log:
Dont flash the wrong thing

Modified:
    lnt/trunk/lnt/server/ui/regression_views.py

Modified: lnt/trunk/lnt/server/ui/regression_views.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/regression_views.py?rev=258451&r1=258450&r2=258451&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/regression_views.py (original)
+++ lnt/trunk/lnt/server/ui/regression_views.py Thu Jan 21 17:28:46 2016
@@ -315,13 +315,13 @@ def v4_regression_detail(id):
         form.field_changes.choices.append((fc.id, 1,))
         for run in all_runs:
             ts_rev = key_run.parameters.get('test_suite_revision')
-            if ts_rev:
+            if ts_rev and ts_rev != u'None':
                 test_suite_versions.add(ts_rev)
     
     print test_suite_versions
     if len(test_suite_versions) > 1:
         flash("More than one test-suite version" + str(test_suite_versions),
-            FLASH_WARNING)
+            FLASH_DANGER)
             
     if request.args.get('json'):
         return json.dumps({u'Regression': regression_info,




More information about the llvm-commits mailing list