summaryrefslogtreecommitdiff
path: root/doc/source/examples/cache-pkgfile.py
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-06-05 15:00:15 +0200
committerJulian Andres Klode <jak@debian.org>2009-06-05 15:00:15 +0200
commit14dfadc054e9bdafd2507dbca70dbec925471ae0 (patch)
tree8d2c0e85fde3010267e87d14f4f88cb352b23a0e /doc/source/examples/cache-pkgfile.py
parentcdabff6d329baba8024224b362f79d822ddd943e (diff)
downloadpython-apt-14dfadc054e9bdafd2507dbca70dbec925471ae0.tar.gz
Introduce the rename rules formally, and add some exceptions.
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'