summaryrefslogtreecommitdiff
path: root/doc/examples/print_uris.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-01-15 15:22:12 +0100
committerJulian Andres Klode <jak@debian.org>2010-01-15 15:22:12 +0100
commit7bfefb84523645fe24d0e5603d56c23cf410328e (patch)
tree3965ce6e2e968a2facd5efa2e3ea4fb34c4140ff /doc/examples/print_uris.py
parent71aad7e28bbaf1ee8efdad77ebfb4e4c0fd0ec26 (diff)
parent52cca77b8179a7f625673f19cb132686c0d416c9 (diff)
downloadpython-apt-7bfefb84523645fe24d0e5603d56c23cf410328e.tar.gz
Merge debian-experimental.
Diffstat (limited to 'doc/examples/print_uris.py')
-rwxr-xr-xdoc/examples/print_uris.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/print_uris.py b/doc/examples/print_uris.py
index 3b678e83..c64a4b54 100755
--- a/doc/examples/print_uris.py
+++ b/doc/examples/print_uris.py
@@ -13,7 +13,7 @@ upgradable = filter(lambda p: p.isUpgradable, cache)
for pkg in upgradable:
pkg._lookupRecord(True)
- path = apt_pkg.ParseSection(pkg._records.Record)["Filename"]
+ path = apt_pkg.TagSection(pkg._records.Record)["Filename"]
cand = pkg._depcache.GetCandidateVer(pkg._pkg)
for (packagefile, i) in cand.FileList:
indexfile = cache._list.FindIndex(packagefile)