added filter for future warning
This commit is contained in:
parent
f4414c0511
commit
9a6bcb9481
1 changed files with 4 additions and 0 deletions
4
apt
4
apt
|
@ -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