added filter for future warning

This commit is contained in:
Derek Carter 2012-07-10 19:50:08 -04:00
parent f4414c0511
commit 9a6bcb9481

4
apt
View file

@ -28,6 +28,10 @@ import subprocess
import syslog import syslog
import traceback 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_PATH = "/usr/bin/apt-get"
APT = "DEBIAN_PRIORITY=critical %s" % APT_PATH APT = "DEBIAN_PRIORITY=critical %s" % APT_PATH