summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-14 19:22:48 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-14 19:22:48 +0200
commit5b74e72b35b82e60dbe7109fc60988c02c7d7676 (patch)
tree914507bbd83f9cebf08855f3e9da5024411aa5c5 /python/apt_pkgmodule.cc
parentcaef6ff047586413cbd2daef969f29c38481fa86 (diff)
downloadpython-apt-5b74e72b35b82e60dbe7109fc60988c02c7d7676.tar.gz
* python/acquire.cc: Use tp_methods and tp_getset for PkgAcquireType
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 8ed3e599..299ca609 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -485,6 +485,7 @@ extern "C" void initapt_pkg()
if (PyType_Ready(&PkgCacheType) == -1) return;
if (PyType_Ready(&DependencyType) == -1) return;
if (PyType_Ready(&PkgDepCacheType) == -1) return;
+ if (PyType_Ready(&PkgAcquireType) == -1) return;
// Initialize the module