aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/specification_parser.py
diff options
context:
space:
mode:
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: