From 2f0c45752027e27b0f7415b40490de27987372e0 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sep 20 2017 20:33:35 +0000 Subject: Tell fedmsg to send things with pagure certificates Normally, the cert name gets picked from the modname ("pagure") in our case. However, with active=True, it will use the "shell" cert_prefix by default. Signed-off-by: Patrick Uiterwijk --- diff --git a/pagure/lib/notify.py b/pagure/lib/notify.py index f72801f..d982a39 100644 --- a/pagure/lib/notify.py +++ b/pagure/lib/notify.py @@ -46,6 +46,7 @@ def fedmsg_publish(*args, **kwargs): # pragma: no cover # Ignore message about fedmsg import # pylint: disable=import-error kwargs['modname'] = 'pagure' + kwargs['cert_prefix'] = 'pagure' try: import fedmsg fedmsg.publish(*args, **kwargs)