summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2016-09-15 13:22:38 +0000
committerRalph Bean <rbean@redhat.com>2016-09-15 13:22:38 +0000
commit1aea17126e400da4bb29ffd7d157899c833e11ed (patch)
tree35546c8d6c5d8949175da08ed85f40a533f49356
parent25b81efb87fc4840dca116c676e2fa3310b938bd (diff)
downloadansible-1aea17126e400da4bb29ffd7d157899c833e11ed.tar.gz
ansible-1aea17126e400da4bb29ffd7d157899c833e11ed.tar.xz
ansible-1aea17126e400da4bb29ffd7d157899c833e11ed.zip
Ignore the new postCommit koji callback.
Added in https://pagure.io/koji/pull-request/148
-rw-r--r--roles/koji_hub/templates/fedmsg-koji-plugin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/koji_hub/templates/fedmsg-koji-plugin.py b/roles/koji_hub/templates/fedmsg-koji-plugin.py
index 0f95fcadf..084d1637e 100644
--- a/roles/koji_hub/templates/fedmsg-koji-plugin.py
+++ b/roles/koji_hub/templates/fedmsg-koji-plugin.py
@@ -118,6 +118,9 @@ def get_message_body(topic, *args, **kws):
c for c in callbacks.keys()
if c.startswith('post') and c not in [
'postImport', # This is kind of useless; also noisy.
+ # This one is special, and is called every time, so ignore it.
+ # Added here https://pagure.io/koji/pull-request/148
+ 'postCommit',
]
])
@ignore_error