summaryrefslogtreecommitdiff
path: root/doc/examples/checkstate.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-03-09 13:25:10 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-03-09 13:25:10 +0000
commite2d599df4c4375fb90289d4d038c2575361a3b20 (patch)
treedf812b086f4fb9edc0db6cdda14a1ea59aed0b8b /doc/examples/checkstate.py
parentc0b6c9e6812970ac952593abf3d6b4d810b06c9d (diff)
downloadpython-apt-e2d599df4c4375fb90289d4d038c2575361a3b20.tar.gz
* 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
Diffstat (limited to 'doc/examples/checkstate.py')
-rwxr-xr-xdoc/examples/checkstate.py5
1 files changed, 5 insertions, 0 deletions
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()