mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-22 16:21:33 +00:00
Handle the special case of base: none in snap-tool
This commit is contained in:
parent
d5c0bd170b
commit
9b6764c705
@ -204,7 +204,7 @@ class Snap:
|
|||||||
snap_data = response_dict["results"][0]
|
snap_data = response_dict["results"][0]
|
||||||
|
|
||||||
# Have "base" initialized to something meaningful.
|
# Have "base" initialized to something meaningful.
|
||||||
if self.is_core_snap():
|
if self.is_core_snap() or snap_data["snap"].get("base") == "none":
|
||||||
snap_data["snap"]["base"] = ""
|
snap_data["snap"]["base"] = ""
|
||||||
elif snap_data["snap"].get("base") is None:
|
elif snap_data["snap"].get("base") is None:
|
||||||
snap_data["snap"]["base"] = "core"
|
snap_data["snap"]["base"] = "core"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user