summaryrefslogtreecommitdiff
path: root/doc/examples/metaindex.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/metaindex.py')
-rw-r--r--doc/examples/metaindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/metaindex.py b/doc/examples/metaindex.py
index 816a3fd7..bbb4ac47 100644
--- a/doc/examples/metaindex.py
+++ b/doc/examples/metaindex.py
@@ -4,7 +4,7 @@ import apt_pkg
apt_pkg.init()
-sources = apt_pkg.GetPkgSourceList()
+sources = apt_pkg.SourceList()
sources.ReadMainList()