summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-06-21 19:11:11 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-06-21 14:11:35 -0500
commit0512fe54d1070ae1443030d08c3ba16be2176c5f (patch)
tree09c1f200647edf93b7e0636122ed8117de41dcd3 /src
parente3dda200865ab3f95f0828331e582d9fe48625da (diff)
downloadbcfg2-0512fe54d1070ae1443030d08c3ba16be2176c5f.tar.gz
bcfg2-0512fe54d1070ae1443030d08c3ba16be2176c5f.tar.bz2
bcfg2-0512fe54d1070ae1443030d08c3ba16be2176c5f.zip
APT: Add more filters for deprecated apt API accesses (Patch from Kioob)
Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5955 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/APT.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index b9498e513..8157d9e6c 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -7,6 +7,8 @@ warnings.filterwarnings("ignore", "apt API not stable yet",
FutureWarning)
warnings.filterwarnings("ignore", "Accessed deprecated property Package.installedVersion, please see the Version class for alternatives.", DeprecationWarning)
warnings.filterwarnings("ignore", "Accessed deprecated property Package.candidateVersion, please see the Version class for alternatives.", DeprecationWarning)
+warnings.filterwarnings("ignore", "Deprecated, please use 'is_installed' instead", DeprecationWarning)
+warnings.filterwarnings("ignore", "Attribute 'IsUpgradable' of the 'apt_pkg.DepCache' object is deprecated, use 'is_upgradable' instead.", DeprecationWarning)
import apt.cache
import os