summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-14 18:53:15 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-14 18:53:15 +0200
commit5a02a12e788f2bda845d5ab5fde8118375bcae47 (patch)
treedc46f0ae5df11fa7267db5a5c45672fa729e05d8 /python/apt_pkgmodule.cc
parent9aa8bce9463d813823893d6f611b5bb9682f75ef (diff)
downloadpython-apt-5a02a12e788f2bda845d5ab5fde8118375bcae47.tar.gz
* python/cache.cc: Add tp_getset and tp_methods to DependencyType.
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 ef687dd1..49b6a35f 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -483,6 +483,7 @@ extern "C" void initapt_pkg()
if (PyType_Ready(&PkgActionGroupType) == -1) return;
if (PyType_Ready(&PkgSourceListType) == -1) return;
if (PyType_Ready(&PkgCacheType) == -1) return;
+ if (PyType_Ready(&DependencyType) == -1) return;
// Initialize the module