summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/library/apt_pkg.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index 7a69059b..c704db3b 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -1352,10 +1352,10 @@ Records (Release files, Packages, Sources)
Example (shortened)::
- cand = depcache.GetCandidateVer(cache['python-apt'])
- records.Lookup(cand.FileList[0])
+ cand = depcache.get_candidate_ver(cache['python-apt'])
+ records.lookup(cand.file_list[0])
# Now you can access the record
- print records.SourcePkg # == python-apt
+ print records.source_pkg # == python-apt
.. attribute:: filename