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:
parent
00ffddf37d
commit
326ba42e98
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue