summaryrefslogtreecommitdiff
path: root/src/buildstream/testing
diff options
context:
space:
mode:
authorBenjamin Schubert <contact@benschubert.me>2020-05-07 22:06:03 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2020-05-11 16:27:12 +0000
commitdb2039fe2f333bc33342b4168910b7ed0a626bbd (patch)
tree388347936e06e19b8e93941b38046f456e4ee733 /src/buildstream/testing
parent8797ab18b5fe247fcf1409e1bde4dfe0037149eb (diff)
downloadbuildstream-db2039fe2f333bc33342b4168910b7ed0a626bbd.tar.gz
lint: Stop using mutable objects for default arguments
Diffstat (limited to 'src/buildstream/testing')
-rw-r--r--src/buildstream/testing/_utils/junction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/testing/_utils/junction.py b/src/buildstream/testing/_utils/junction.py
index 6f45ad590..8f80ed6bd 100644
--- a/src/buildstream/testing/_utils/junction.py
+++ b/src/buildstream/testing/_utils/junction.py
@@ -19,7 +19,7 @@ from .site import HAVE_GIT, GIT, GIT_ENV
# Returns:
# (str): The ref
#
-def generate_junction(tmpdir, subproject_path, junction_path, *, store_ref=True, options={}):
+def generate_junction(tmpdir, subproject_path, junction_path, *, store_ref=True, options=None):
# Create a repo to hold the subproject and generate
# a junction element for it
#