summaryrefslogtreecommitdiff
path: root/tests/frontend/buildcheckout.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-03-01 11:11:15 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-01 18:28:36 +0000
commitff059b8b9852054f6669bb8bdeb6945ff0631b70 (patch)
tree90a0a943f1a0565220032fdc5c7a789de88a51a8 /tests/frontend/buildcheckout.py
parent1eba1fed210d9814a06ef2b9a24610132b18235c (diff)
downloadbuildstream-ff059b8b9852054f6669bb8bdeb6945ff0631b70.tar.gz
Use [a, b, *c] instead of [a, b] + c when building listbschubert/more-pythonic-list-concat
This pattern is available from python3.5 and provides a simpler understanding of what is going on
Diffstat (limited to 'tests/frontend/buildcheckout.py')
-rw-r--r--tests/frontend/buildcheckout.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/frontend/buildcheckout.py b/tests/frontend/buildcheckout.py
index e7f67fa91..af34e6d67 100644
--- a/tests/frontend/buildcheckout.py
+++ b/tests/frontend/buildcheckout.py
@@ -21,7 +21,7 @@ DATA_DIR = os.path.join(
def strict_args(args, strict):
if strict != "strict":
- return ['--no-strict'] + args
+ return ['--no-strict', *args]
return args