diff options
| author | Julian Andres Klode <jak@debian.org> | 2009-04-14 19:22:48 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2009-04-14 19:22:48 +0200 |
| commit | 5b74e72b35b82e60dbe7109fc60988c02c7d7676 (patch) | |
| tree | 914507bbd83f9cebf08855f3e9da5024411aa5c5 /python/apt_pkgmodule.cc | |
| parent | caef6ff047586413cbd2daef969f29c38481fa86 (diff) | |
| download | python-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.cc | 1 |
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 |
