summaryrefslogtreecommitdiff
path: root/doc/examples/deb_inspect.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/deb_inspect.py
parent2aa709e41d8896ef897863ea9181c409c4c87a8c (diff)
parent3a08cfb10590d5cf5df1f45d94a424ef6a0f674b (diff)
downloadpython-apt-37650a078f5504dfbc6622d2c06f4435a3302dd4.tar.gz
merged from lp:~mvo/python-apt/mvo
Diffstat (limited to 'doc/examples/deb_inspect.py')
-rwxr-xr-xdoc/examples/deb_inspect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/deb_inspect.py b/doc/examples/deb_inspect.py
index cc0d04be..54c52b7b 100755
--- a/doc/examples/deb_inspect.py
+++ b/doc/examples/deb_inspect.py
@@ -25,7 +25,7 @@ if __name__ == "__main__":
print "Now extracting the control file:"
control = apt_inst.debExtractControl(open(file))
- sections = apt_pkg.ParseSection(control)
+ sections = apt_pkg.TagSection(control)
print "Maintainer is: "
print sections["Maintainer"]