summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-01-05 00:34:27 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2006-01-05 00:34:27 +0000
commit412fbe245a579008f1c7626e5550edbf6bedc849 (patch)
tree7171d105f55445298abd876a5fbf381631d80f92 /doc/examples
parent0b33dd41e471a36c3e28a22319c3e760346ed2f3 (diff)
downloadpython-apt-412fbe245a579008f1c7626e5550edbf6bedc849.tar.gz
* small fixes in the new Origin.trusted code
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/indexfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/indexfile.py b/doc/examples/indexfile.py
index e7f81e61..5eaab517 100644
--- a/doc/examples/indexfile.py
+++ b/doc/examples/indexfile.py
@@ -8,7 +8,7 @@ sources.ReadMainList()
cache = apt_pkg.GetCache()
depcache = apt_pkg.GetDepCache(cache)
-pkg = cache["bzr"]
+pkg = cache["libimlib2"]
cand = depcache.GetCandidateVer(pkg)
for (f,i) in cand.FileList:
index = sources.FindIndex(f)