[LNT] r318196 - Add back some missing sessions
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 13:12:18 PST 2017
Author: cmatthews
Date: Tue Nov 14 13:12:18 2017
New Revision: 318196
URL: http://llvm.org/viewvc/llvm-project?rev=318196&view=rev
Log:
Add back some missing sessions
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=318196&r1=318195&r2=318196&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Tue Nov 14 13:12:18 2017
@@ -453,6 +453,7 @@ def v4_text_report(id):
def simple_run(tag, id):
# Get the expected test suite.
db = request.get_db()
+ session = request.session
ts = db.testsuite[tag]
# Look for a matched run.
@@ -1448,6 +1449,7 @@ def get_summary_config_path():
@db_route("/summary_report/edit", methods=('GET', 'POST'))
def v4_summary_report_ui():
# If this is a POST request, update the saved config.
+ session = request.session
if request.method == 'POST':
# Parse the config data.
config_data = request.form.get('config')
More information about the llvm-commits
mailing list