summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-05-06 09:11:15 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-05-06 09:11:15 +0000
commit5e4d32fbdcb6ab0bfe5326e09fea1c9ecd7ef98d (patch)
treeb6a5a7086df1ddde0a03b0600df5597a75f5dca0 /doc/examples
parent69a3c876af74e2499b5068441b5d89ca53c3583a (diff)
downloadpython-apt-5e4d32fbdcb6ab0bfe5326e09fea1c9ecd7ef98d.tar.gz
* merged with matts mainline
Patches applied: * apt@packages.debian.org/python-apt--main--0--patch-9 Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0 * apt@packages.debian.org/python-apt--main--0--patch-10 Merge minor changes from michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0 * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-16 * merged with Greek0@gmx.net--2005-main/python-apt--debian--0.6 * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-17 * python/pkgsrcrecords.cc: fix a refcount problem * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-18 * changed version to 0.6.11 * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-19 * build depends against python-dev (without a version). this will do the right thing on both debian and ubuntu * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-20 * made the "arch-build" target work again * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-21 * made arch-build work again (for real this time)
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/depcache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/depcache.py b/doc/examples/depcache.py
index 0eb2f075..50dd7703 100644
--- a/doc/examples/depcache.py
+++ b/doc/examples/depcache.py
@@ -35,6 +35,7 @@ print "\n\n depcache"
depcache = apt_pkg.GetDepCache(cache, progress)
depcache.ReadPinFile()
# init is needed after the creation/pin file reading
+depcache.Init()
print "got a depcache: %s " % depcache
print "Marked for install: %s " % depcache.InstCount