summaryrefslogtreecommitdiff
path: root/doc/examples/deb_inspect.py
diff options
context:
space:
mode:
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"]