summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-14 18:42:36 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-14 18:42:36 +0200
commit9aa8bce9463d813823893d6f611b5bb9682f75ef (patch)
tree8391ad0e6409336382e1d34bba56d5f1eba608b5 /python/apt_pkgmodule.cc
parentfef39284798154b3fd2548f0311ee5da73b26ec8 (diff)
downloadpython-apt-9aa8bce9463d813823893d6f611b5bb9682f75ef.tar.gz
* python/cache.cc: Use tp_methods and tp_getset for PkgCacheType
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 b2b20c20..ef687dd1 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -482,6 +482,7 @@ extern "C" void initapt_pkg()
if (PyType_Ready(&PkgProblemResolverType) == -1) return;
if (PyType_Ready(&PkgActionGroupType) == -1) return;
if (PyType_Ready(&PkgSourceListType) == -1) return;
+ if (PyType_Ready(&PkgCacheType) == -1) return;
// Initialize the module