From 9a6bcb94815100db77d7915cc4f5994bb9ed1213 Mon Sep 17 00:00:00 2001 From: Derek Carter Date: Tue, 10 Jul 2012 19:50:08 -0400 Subject: [PATCH] added filter for future warning --- apt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apt b/apt index bb656a8df73..0d1629e83a4 100755 --- a/apt +++ b/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