handle openning missing images.json (image-less compose re-run)
Signed-off-by: Lubos Kocman <lkocman@redhat.com>
This commit is contained in:
parent
0e18ffcf31
commit
831352b2ea
@ -124,6 +124,8 @@ class Compose(kobo.log.LoggingBase):
|
|||||||
self.im.load(self.paths.compose.metadata("images.json"))
|
self.im.load(self.paths.compose.metadata("images.json"))
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
pass
|
pass
|
||||||
|
except IOError:
|
||||||
|
pass
|
||||||
self.im.compose.id = self.compose_id
|
self.im.compose.id = self.compose_id
|
||||||
self.im.compose.type = self.compose_type
|
self.im.compose.type = self.compose_type
|
||||||
self.im.compose.date = self.compose_date
|
self.im.compose.date = self.compose_date
|
||||||
|
Loading…
Reference in New Issue
Block a user