[unpackfs] Be more resilient to globalStorage weirdness
- If no extraMount is defined, just don't mount anything
This commit is contained in:
parent
823b5e480e
commit
2d684bb385
@ -61,6 +61,8 @@ def list_excludes(destination):
|
|||||||
"""
|
"""
|
||||||
lst = []
|
lst = []
|
||||||
extra_mounts = globalstorage.value("extraMounts")
|
extra_mounts = globalstorage.value("extraMounts")
|
||||||
|
if extra_mounts is None:
|
||||||
|
extra_mounts = []
|
||||||
|
|
||||||
for extra_mount in extra_mounts:
|
for extra_mount in extra_mounts:
|
||||||
mount_point = extra_mount["mountPoint"]
|
mount_point = extra_mount["mountPoint"]
|
||||||
|
Loading…
Reference in New Issue
Block a user