diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-15 18:21:44 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-15 18:21:44 +0200 |
| commit | 7a901ee79863eb812cba6e87feadc0a548f920e7 (patch) | |
| tree | 590f77307799581fd2a2c235bcbf64cf1b8de636 /python/apt_pkgmodule.cc | |
| parent | 7417da2d01b795e585f80a3d778e53c5588653bc (diff) | |
| download | python-apt-7a901ee79863eb812cba6e87feadc0a548f920e7.tar.gz | |
* python: Port AcquireItem,Package,Description to GetSet
Diffstat (limited to 'python/apt_pkgmodule.cc')
| -rw-r--r-- | python/apt_pkgmodule.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index e71d8ee6..3beec747 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -524,7 +524,9 @@ extern "C" void initapt_pkg() if (PyType_Ready(&PkgManagerType) == -1) INIT_ERROR; if (PyType_Ready(&PkgSrcRecordsType) == -1) INIT_ERROR; if (PyType_Ready(&PkgRecordsType) == -1) INIT_ERROR; - + if (PyType_Ready(&AcquireItemType) == -1) INIT_ERROR; + if (PyType_Ready(&PackageType) == -1) INIT_ERROR; + if (PyType_Ready(&DescriptionType) == -1) INIT_ERROR; // Initialize the module #if PY_MAJOR_VERSION >= 3 |
