From d15f80eab5c332fedc5a2c1ff0b4680b777f82c1 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Apr 20 2018 15:42:13 +0000 Subject: fedimg: Add the patch for the PR#103, fix processing Rawhide messages Signed-off-by: Sayan Chowdhury --- diff --git a/files/hotfix/fedimg/consumers.py b/files/hotfix/fedimg/consumers.py index ce4d662..8195321 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