mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Block some paramiko warnings that are not relevant.
This commit is contained in:
parent
e103bdda93
commit
a0480a1bc5
1 changed files with 7 additions and 1 deletions
|
@ -18,7 +18,13 @@
|
|||
|
||||
################################################
|
||||
|
||||
import warnings
|
||||
# prevent paramiko warning noise
|
||||
# see http://stackoverflow.com/questions/3920502/
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter("ignore")
|
||||
import paramiko
|
||||
|
||||
import traceback
|
||||
import os
|
||||
import time
|
||||
|
|
Loading…
Reference in a new issue