[llvm-commits] [LNT] r156435 - /lnt/trunk/lnt/server/ui/views.py
Daniel Dunbar
daniel at zuster.org
Tue May 8 16:07:05 PDT 2012
Author: ddunbar
Date: Tue May 8 18:07:05 2012
New Revision: 156435
URL: http://llvm.org/viewvc/llvm-project?rev=156435&view=rev
Log:
UI summary_report/edit: Initialize config object properly (so editor can work if no config has been defined yet).
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=156435&r1=156434&r2=156435&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Tue May 8 18:07:05 2012
@@ -1106,7 +1106,12 @@
with open(config_path) as f:
config = flask.json.load(f)
else:
- config = {}
+ config = {
+ "machine_names" : [],
+ "orders" : [],
+ "machine_patterns" : [],
+ "machines_to_merge" : {}
+ }
# Get the list of available test suites.
testsuites = request.get_db().testsuite.values()
More information about the llvm-commits
mailing list