summaryrefslogtreecommitdiff
path: root/buildstream/_fuse/hardlinks.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_fuse/hardlinks.py')
-rw-r--r--buildstream/_fuse/hardlinks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildstream/_fuse/hardlinks.py b/buildstream/_fuse/hardlinks.py
index 0797cb4bc..ff2e81eea 100644
--- a/buildstream/_fuse/hardlinks.py
+++ b/buildstream/_fuse/hardlinks.py
@@ -42,9 +42,11 @@ from .mount import Mount
#
class SafeHardlinks(Mount):
- def __init__(self, directory, tempdir, fuse_mount_options={}):
+ def __init__(self, directory, tempdir, fuse_mount_options=None):
self.directory = directory
self.tempdir = tempdir
+ if fuse_mount_options is None:
+ fuse_mount_options = {}
super().__init__(fuse_mount_options=fuse_mount_options)
def create_operations(self):