mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added filter for future warning
This commit is contained in:
parent
e261d49acc
commit
f38b9d1ca7
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@ import subprocess
|
|||
import syslog
|
||||
import traceback
|
||||
|
||||
# added to stave off future warnings about apt api
|
||||
import warnings;
|
||||
warnings.filterwarnings('ignore', "apt API not stable yet", FutureWarning)
|
||||
|
||||
APT_PATH = "/usr/bin/apt-get"
|
||||
APT = "DEBIAN_PRIORITY=critical %s" % APT_PATH
|
||||
|
||||
|
|
Loading…
Reference in a new issue