diff options
author | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-09-18 12:48:39 +0200 |
---|---|---|
committer | Holger Weiß <holger@zedat.fu-berlin.de> | 2011-09-18 12:48:39 +0200 |
commit | e6489338056d55805a66383bcd5cda6ed8caa22b (patch) | |
tree | 08136c196f76ae27b8150d025b3e8244310cd386 /src/lib/Client | |
parent | 4a284d9996c30ab28998a0d37c9eec052397db80 (diff) | |
download | bcfg2-e6489338056d55805a66383bcd5cda6ed8caa22b.tar.gz bcfg2-e6489338056d55805a66383bcd5cda6ed8caa22b.tar.bz2 bcfg2-e6489338056d55805a66383bcd5cda6ed8caa22b.zip |
APT: Add filter for deprecated API access
This access is triggered by running "bcfg2 -r Packages".
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index b2b8120ba..34fb812c0 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -8,6 +8,7 @@ warnings.filterwarnings("ignore", "apt API not stable yet", 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", "Deprecated, please use 'mark_delete()' instead", DeprecationWarning) warnings.filterwarnings("ignore", "Attribute 'IsUpgradable' of the 'apt_pkg.DepCache' object is deprecated, use 'is_upgradable' instead.", DeprecationWarning) warnings.filterwarnings("ignore", "Attribute 'VersionList' of the 'apt_pkg.Package' object is deprecated, use 'version_list' instead.", DeprecationWarning) warnings.filterwarnings("ignore", "Attribute 'VerStr' of the 'apt_pkg.Version' object is deprecated, use 'ver_str' instead.", DeprecationWarning) |