From a87e0362247b4afe5014aa8d46821baeba55fcf3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 14 May 2020 22:34:22 +0200 Subject: [PATCH] Remove the debugging code in the fedora_messaging callback Signed-off-by: Pierre-Yves Chibon --- callback_plugins/fedora_messaging_callback.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/callback_plugins/fedora_messaging_callback.py b/callback_plugins/fedora_messaging_callback.py index 237998debc..03c7345fbd 100644 --- a/callback_plugins/fedora_messaging_callback.py +++ b/callback_plugins/fedora_messaging_callback.py @@ -17,18 +17,12 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . +import logging import os import pwd -import logging -import traceback -import sys -try: - from fedora_messaging.api import Message, publish - from fedora_messaging.exceptions import PublishReturned, ConnectionException -except ImportError as err: - print("*****", err) - traceback.print_exc(file=sys.stdout) +from fedora_messaging.api import Message, publish +from fedora_messaging.exceptions import PublishReturned, ConnectionException try: from ansible.plugins.callback import CallbackBase