From 5e4d32fbdcb6ab0bfe5326e09fea1c9ecd7ef98d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 6 May 2005 09:11:15 +0000 Subject: * 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) --- doc/examples/depcache.py | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') 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 -- cgit v1.2.3