summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-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