aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/specification_parser.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-05-06 14:38:29 +0200
committerTibor Frank <tifrank@cisco.com>2020-05-07 05:20:40 +0000
commit48cd54ff00049d58494834d25d3f0ac846ce4017 (patch)
treee5a021d7c70d9bb89846579c046c1a14501c79ea /resources/tools/presentation/specification_parser.py
parent007b6075fa425f8ff906bc80f9277e2281ab6b45 (diff)
Trending: NDRPDR dashboard
Change-Id: I7f4c84dd47874c484f34f389b93de635c66a77c1 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/specification_parser.py')
-rw-r--r--resources/tools/presentation/specification_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/presentation/specification_parser.py b/resources/tools/presentation/specification_parser.py
index 302ce037ab..37b26eb0d5 100644
--- a/resources/tools/presentation/specification_parser.py
+++ b/resources/tools/presentation/specification_parser.py
@@ -535,7 +535,7 @@ class Specification:
except ValueError:
# defined as a range <start, build_type>
build_end = self._get_build_number(job, build_end)
- builds = [x for x in range(builds[u"start"], build_end + 1)]
+ builds = list(range(builds[u"start"], build_end + 1))
if max_builds and max_builds < len(builds):
builds = builds[-max_builds:]
if reverse: