summaryrefslogtreecommitdiff
path: root/doc/source/examples/cache-pkgfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/examples/cache-pkgfile.py')
-rw-r--r--doc/source/examples/cache-pkgfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/examples/cache-pkgfile.py b/doc/source/examples/cache-pkgfile.py
index 1300a55c..f4cc2e66 100644
--- a/doc/source/examples/cache-pkgfile.py
+++ b/doc/source/examples/cache-pkgfile.py
@@ -7,7 +7,7 @@ def main():
apt_pkg.init()
cache = apt_pkg.Cache()
for pkgfile in cache.file_list:
- print 'Package-File:', pkgfile.file_name
+ print 'Package-File:', pkgfile.filename
print 'Index-Type:', pkgfile.index_type # 'Debian Package Index'
if pkgfile.not_source:
print 'Source: None'