From db2039fe2f333bc33342b4168910b7ed0a626bbd Mon Sep 17 00:00:00 2001 From: Benjamin Schubert Date: Thu, 7 May 2020 22:06:03 +0100 Subject: lint: Stop using mutable objects for default arguments --- src/buildstream/testing/_utils/junction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildstream/testing') 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 # -- cgit v1.2.1