summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index 3d043179..5d0b2c0a 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -478,6 +478,10 @@ extern "C" void initapt_pkg()
if (PyType_Ready(&ConfigurationType) == -1) return;
if (PyType_Ready(&ConfigurationPtrType) == -1) return;
if (PyType_Ready(&ConfigurationSubType) == -1) return;
+ if (PyType_Ready(&PkgCdromType) == -1) return;
+ if (PyType_Ready(&PkgProblemResolverType) == -1) return;
+ if (PyType_Ready(&PkgActionGroupType) == -1) return;
+
// Initialize the module
PyObject *Module = Py_InitModule("apt_pkg",methods);