diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-01-23 19:34:53 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-01-23 19:34:53 +0100 |
| commit | 70609e1f497832502cd25e874190d13c8ff628f0 (patch) | |
| tree | 9a6fba3a01c4434756e0bc74b9cf1d8d76449786 /python/apt_pkgmodule.cc | |
| parent | 89752fb6d465c78026befcc5a61e8af655587ad7 (diff) | |
| download | python-apt-70609e1f497832502cd25e874190d13c8ff628f0.tar.gz | |
python: Export a PyAcquire_FromCpp which sets up a correct PyAcquireObject.
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 df443c10..64db74d2 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -526,6 +526,7 @@ static PyMethodDef methods[] = static struct _PyAptPkgAPIStruct API = { &PyAcquire_Type, // acquire_type + &PyAcquire_FromCpp, // acquire_fromcpp &PyAcquireFile_Type, // acquirefile_type &PyAcquireItem_Type, // acquireitem_type &PyAcquireItemDesc_Type, // acquireitemdesc_type |
