handle openning missing images.json (image-less compose re-run)

Signed-off-by: Lubos Kocman <lkocman@redhat.com>
This commit is contained in:
Lubos Kocman 2015-08-27 08:29:48 +00:00 committed by Dennis Gilmore
parent 0e18ffcf31
commit 831352b2ea
1 changed files with 2 additions and 0 deletions

View File

@ -124,6 +124,8 @@ class Compose(kobo.log.LoggingBase):
self.im.load(self.paths.compose.metadata("images.json"))
except RuntimeError:
pass
except IOError:
pass
self.im.compose.id = self.compose_id
self.im.compose.type = self.compose_type
self.im.compose.date = self.compose_date