bodhi/backend: fix typo in the fedora-messaging consumer for the koji sync listener

The content variable is the one retrieved from the message bus
but we want to access the loaded JSON blob that is in the
body of the first comment.
So, let's use the proper variable.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-06-12 22:11:23 +02:00
parent 00ffddf37d
commit 326ba42e98

View file

@ -60,7 +60,7 @@ class KojiSyncListener(object):
_log.info("Failed to decode JSON in the issue's initial comment")
return False
package = content['repo']
package = body['repo']
_log.info("Operating on {package}".format(package=package))
sys.stdout.flush()