Remove the debugging code in the fedora_messaging callback
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
e060e7efa1
commit
a87e036224
1 changed files with 3 additions and 9 deletions
|
@ -17,18 +17,12 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import pwd
|
import pwd
|
||||||
import logging
|
|
||||||
import traceback
|
|
||||||
import sys
|
|
||||||
|
|
||||||
try:
|
from fedora_messaging.api import Message, publish
|
||||||
from fedora_messaging.api import Message, publish
|
from fedora_messaging.exceptions import PublishReturned, ConnectionException
|
||||||
from fedora_messaging.exceptions import PublishReturned, ConnectionException
|
|
||||||
except ImportError as err:
|
|
||||||
print("*****", err)
|
|
||||||
traceback.print_exc(file=sys.stdout)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue