[LNT] r312360 - Small cleanup; NFC
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 13:37:09 PDT 2017
Author: matze
Date: Fri Sep 1 13:37:09 2017
New Revision: 312360
URL: http://llvm.org/viewvc/llvm-project?rev=312360&view=rev
Log:
Small cleanup; NFC
Rename field_id template parameter to field_index since it does not have
the value of field.id but rather ts.get_field_index(field).
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=312360&r1=312359&r2=312360&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/views.py (original)
+++ lnt/trunk/lnt/server/ui/views.py Fri Sep 1 13:37:09 2017
@@ -707,10 +707,10 @@ def v4_graph_for_sample(sample_id, field
if field_index is None:
abort(400, "Could not find field {}".format(field_name))
- kwargs = {'plot.0': '{machine_id}.{test_id}.{field_id}'.format(
+ kwargs = {'plot.0': '{machine_id}.{test_id}.{field_index}'.format(
machine_id=target_sample.run.machine.id,
test_id=target_sample.test_id,
- field_id=field_index)}
+ field_indexd=field_index)}
# Pass request args through, so you can add graph options.
kwargs.update(request.args)
More information about the llvm-commits
mailing list