From d15f80eab5c332fedc5a2c1ff0b4680b777f82c1 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Thu, 19 Apr 2018 22:07:12 +0530 Subject: [PATCH] fedimg: Add the patch for the PR#103, fix processing Rawhide messages Signed-off-by: Sayan Chowdhury --- files/hotfix/fedimg/consumers.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/files/hotfix/fedimg/consumers.py b/files/hotfix/fedimg/consumers.py index ce4d66293f..8195321299 100644 --- a/files/hotfix/fedimg/consumers.py +++ b/files/hotfix/fedimg/consumers.py @@ -85,7 +85,7 @@ class FedimgConsumer(fedmsg.consumers.FedmsgConsumer): try: compose_metadata = fedfind.release.get_release(cid=compose_id).metadata except fedfind.exceptions.UnsupportedComposeError: - LOG.debug("%r is unsupported compose" % compose_id) + _log.debug("%r is unsupported compose" % compose_id) return @@ -106,15 +106,6 @@ class FedimgConsumer(fedmsg.consumers.FedmsgConsumer): compose_metadata, 'images', 'payload', 'images', 'AtomicHost', 'x86_64')) - images_meta = get_value_from_dict( - compose_metadata, - 'images', - 'payload', - 'images', - 'CloudImages', - 'x86_64' - ) - if images_meta is None: _log.debug('No compatible image found to process') return