summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-14 20:21:06 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-14 20:21:06 +0200
commit87df0bb1e114d2bf0972b899ac6cfd25dd032dab (patch)
tree8a2d27484bb6d59aef6aff5e572d076ecf6c38b0 /python/apt_pkgmodule.cc
parent5b74e72b35b82e60dbe7109fc60988c02c7d7676 (diff)
downloadpython-apt-87df0bb1e114d2bf0972b899ac6cfd25dd032dab.tar.gz
* python/indexfile.cc: Use tp_methods and tp_getset for PackageIndexFileType
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index 299ca609..aa01cc2a 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -486,6 +486,7 @@ extern "C" void initapt_pkg()
if (PyType_Ready(&DependencyType) == -1) return;
if (PyType_Ready(&PkgDepCacheType) == -1) return;
if (PyType_Ready(&PkgAcquireType) == -1) return;
+ if (PyType_Ready(&PackageIndexFileType) == -1) return;
// Initialize the module