summaryrefslogtreecommitdiff
path: root/doc/examples/tagfile.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-03-23 14:18:44 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-03-23 14:18:44 +0100
commit37650a078f5504dfbc6622d2c06f4435a3302dd4 (patch)
tree35d7df75535420cbe0712a5f7b7b66d61f5e44d1 /doc/examples/tagfile.py
parent2aa709e41d8896ef897863ea9181c409c4c87a8c (diff)
parent3a08cfb10590d5cf5df1f45d94a424ef6a0f674b (diff)
downloadpython-apt-37650a078f5504dfbc6622d2c06f4435a3302dd4.tar.gz
merged from lp:~mvo/python-apt/mvo
Diffstat (limited to 'doc/examples/tagfile.py')
-rwxr-xr-xdoc/examples/tagfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/tagfile.py b/doc/examples/tagfile.py
index 4faf08ac..770e40de 100755
--- a/doc/examples/tagfile.py
+++ b/doc/examples/tagfile.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import apt_pkg
-Parse = apt_pkg.ParseTagFile(open("/var/lib/dpkg/status", "r"))
+Parse = apt_pkg.TagFile(open("/var/lib/dpkg/status", "r"))
while Parse.Step() == 1:
print Parse.Section.get("Package")