From e2d599df4c4375fb90289d4d038c2575361a3b20 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 9 Mar 2005 13:25:10 +0000 Subject: * star-merged with my pkgDepCache branch Patches applied: * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-8 * merged with matt again, implemented DepCache.ReadPinFile(), fixed a bug in DepCache.Upgrade() * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-9 * added ReadPinFile to the depcache example code, added a comment to checkstate that there is also depcache that honors the default policy --- doc/examples/checkstate.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/examples/checkstate.py') diff --git a/doc/examples/checkstate.py b/doc/examples/checkstate.py index a0bdb6e7..2986872f 100755 --- a/doc/examples/checkstate.py +++ b/doc/examples/checkstate.py @@ -1,4 +1,9 @@ #!/usr/bin/python +# +# +# this example is not usefull to find out about updated, upgradable packages +# use the depcache.py example for it (because a pkgPolicy is not used here) +# import apt_pkg apt_pkg.init() -- cgit v1.2.3