summaryrefslogtreecommitdiff
path: root/doc/examples/deb_inspect.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-02-17 16:17:36 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2010-02-17 16:17:36 +0100
commitd1b2c0fbd34cee0ffced8270149b87def7675b2a (patch)
treef4b8a14fc619b2e6ea297385e289b2549f6f21a4 /doc/examples/deb_inspect.py
parentc62bdd0b1b633b134ba551847da0c1e8d12115c2 (diff)
parent930f6a2899b0b410777397fb206a8eba8c99100c (diff)
downloadpython-apt-d1b2c0fbd34cee0ffced8270149b87def7675b2a.tar.gz
merged from the debian-sid branch
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"]