added filter for future warning

This commit is contained in:
Derek Carter 2012-07-10 19:50:08 -04:00
parent b445417edf
commit 16af372146

View file

@ -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