[LNT] r325077 - Missing session again

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 13 15:36:55 PST 2018


Author: cmatthews
Date: Tue Feb 13 15:36:55 2018
New Revision: 325077

URL: http://llvm.org/viewvc/llvm-project?rev=325077&view=rev
Log:
Missing session again

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=325077&r1=325076&r2=325077&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Tue Feb 13 15:36:55 2018
@@ -1515,6 +1515,7 @@ def v4_summary_report_ui():
 
 @db_route("/summary_report")
 def v4_summary_report():
+    session = request.session
     # Load the summary report configuration.
     config_path = get_summary_config_path()
     if not os.path.exists(config_path):
@@ -1529,7 +1530,7 @@ You must define a summary report configu
         request.get_db(), config['orders'], config['machine_names'],
         config['machine_patterns'])
     # Build the report.
-    report.build()
+    report.build(session)
 
     if bool(request.args.get('json')):
         json_obj = dict()




More information about the llvm-commits mailing list