[LNT] r294044 - Whitespace + comments fixups
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 13:21:16 PST 2017
Author: cmatthews
Date: Fri Feb 3 15:21:15 2017
New Revision: 294044
URL: http://llvm.org/viewvc/llvm-project?rev=294044&view=rev
Log:
Whitespace + comments fixups
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=294044&r1=294043&r2=294044&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Fri Feb 3 15:21:15 2017
@@ -267,8 +267,8 @@ class V4RequestInfo(object):
self.confidence_lv = confidence_lv
# Find the neighboring runs, by order.
- prev_runs = list(ts.get_previous_runs_on_machine(run, N = 3))
- next_runs = list(ts.get_next_runs_on_machine(run, N = 3))
+ prev_runs = list(ts.get_previous_runs_on_machine(run, N=3))
+ next_runs = list(ts.get_next_runs_on_machine(run, N=3))
self.neighboring_runs = next_runs[::-1] + [self.run] + prev_runs
# Select the comparison run as either the previous run, or a user
@@ -378,6 +378,7 @@ Invalid URL for version %r database."""
Unable to find a v0.4 run for this ID. Please use the native v0.4 URL interface
(instead of the /simple/... URL schema).""")
+
@v4_route("/<int:id>")
def v4_run(id):
info = V4RequestInfo(id)
@@ -519,6 +520,7 @@ def v4_order(id):
@v4_route("/set_baseline/<int:id>")
def v4_set_baseline(id):
+ """Update the baseline stored in the user's session."""
ts = request.get_testsuite()
base = ts.query(ts.Baseline).get(id)
if not base:
More information about the llvm-commits
mailing list