From 8132fe9d2c1557225de6e8a8bc8a2a25557a6d64 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Fri, 5 Mar 2021 11:25:10 -0700 Subject: [PATCH] different callback method --- files/usr/lib/koji-hub-plugins/key_signing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/usr/lib/koji-hub-plugins/key_signing.py b/files/usr/lib/koji-hub-plugins/key_signing.py index a4abbcc..4cb023b 100644 --- a/files/usr/lib/koji-hub-plugins/key_signing.py +++ b/files/usr/lib/koji-hub-plugins/key_signing.py @@ -34,6 +34,7 @@ testing_tag = CONFIG.get('signing', 'testing_tag') send_to_testing = CONFIG.get('signing', 'send_to_testing') sigul_config = CONFIG.get('signing', 'sigul_config') +@callback('postTag') def key_signing(cbtype, *args, **kws): # Make sure this is a package build and nothing else if kws['tag']['name'] not in build_target: @@ -92,4 +93,4 @@ def key_signing_rpm(rpm_name): logging.getLogger('koji.plugin.key_signing').info('running sigul command: %s',command) run_sigul(command) -register_callback('postTag',key_signing) +#register_callback('postTag',key_signing)