aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Matthews <cmatthews5@apple.com>2018-02-13 23:36:55 +0000
committerChris Matthews <cmatthews5@apple.com>2018-02-13 23:36:55 +0000
commit3e0c5fc7bc948099b26a807638f8b45f7f1e034f (patch)
tree20a4aed99f8b5f1167d455a2195cf1ef43db3ea1
parentdfef0910fee4b45f6eb9c5fd1bb429655b7e49ba (diff)
Missing session again
git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@325077 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lnt/server/ui/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lnt/server/ui/views.py b/lnt/server/ui/views.py
index 5a47538..ba13fca 100644
--- a/lnt/server/ui/views.py
+++ b/lnt/server/ui/views.py
@@ -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 configuration first.""")
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()