On Thu, Apr 19, 2018 at 10:12:53PM +0530, Sayan Chowdhury wrote:
From 1bf3db45c8154d0a6a0f29836ec14ce24fa404c1 Mon Sep 17 00:00:00
2001
From: Sayan Chowdhury <sayan.chowdhury2012(a)gmail.com>
Date: Thu, 19 Apr 2018 22:07:12 +0530
Subject: [PATCH 2/2] fedimg: Add the patch for the PR#103, fix processing
Rawhide messages
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012(a)gmail.com>
---
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 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
+1 for me
Pierre