Skip to content

Commit

Permalink
Suppress warnings from paramiko unless debug mode is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Tejeda, Engelbert committed Sep 23, 2019
1 parent c71874c commit b623a8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible_taskrunner/lib/sshutil/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
else:
# Ignore warnings from cryptography module
warnings.filterwarnings("ignore", category=UserWarning, module='cryptography')
warnings.filterwarnings("ignore", category=UserWarning, module='paramiko')
logger.setLevel(logging.INFO)

# Only if zipapp
Expand Down

0 comments on commit b623a8d

Please sign in to comment.