summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-14 19:07:07 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-14 19:07:07 +0200
commitcaef6ff047586413cbd2daef969f29c38481fa86 (patch)
tree1aac6248d32cd44f676ded9ec8defde5808569b4 /python/apt_pkgmodule.cc
parent5a02a12e788f2bda845d5ab5fde8118375bcae47 (diff)
downloadpython-apt-caef6ff047586413cbd2daef969f29c38481fa86.tar.gz
* python/depcache.cc: Use tp_methods and tp_getset for PkgDepCacheType
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 49b6a35f..8ed3e599 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -484,6 +484,7 @@ extern "C" void initapt_pkg()
if (PyType_Ready(&PkgSourceListType) == -1) return;
if (PyType_Ready(&PkgCacheType) == -1) return;
if (PyType_Ready(&DependencyType) == -1) return;
+ if (PyType_Ready(&PkgDepCacheType) == -1) return;
// Initialize the module