diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-03-31 18:30:03 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-03-31 18:30:03 +0000 |
| commit | 65fc206205e13da3fab7438dcb4501231f6f88ac (patch) | |
| tree | 44d6f2659debf9d35a2acf2fac92aacbc3f0174a /doc/examples | |
| parent | 67b5de8d0564a0f349766ffa26ffbcc5a6fdab6e (diff) | |
| download | python-apt-65fc206205e13da3fab7438dcb4501231f6f88ac.tar.gz | |
* merged with the pkgDepCache tree
Patches applied:
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-10
* version number is 0.5.36ubuntu1
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-11
* return "None" in GetCandidateVer if no Candidate is found
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-12
* changelog entry
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-13
* never do "DepCache.Init()" implicit
* michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-14
* reference counting added for Py_None
Diffstat (limited to 'doc/examples')
| -rw-r--r-- | doc/examples/depcache.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/depcache.py b/doc/examples/depcache.py index baf2d875..0eb2f075 100644 --- a/doc/examples/depcache.py +++ b/doc/examples/depcache.py @@ -34,6 +34,7 @@ print "example package iter: %s" % iter print "\n\n depcache" depcache = apt_pkg.GetDepCache(cache, progress) depcache.ReadPinFile() +# init is needed after the creation/pin file reading print "got a depcache: %s " % depcache print "Marked for install: %s " % depcache.InstCount |
