summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-01-23 19:34:53 +0100
committerJulian Andres Klode <jak@debian.org>2010-01-23 19:34:53 +0100
commit70609e1f497832502cd25e874190d13c8ff628f0 (patch)
tree9a6fba3a01c4434756e0bc74b9cf1d8d76449786 /python/apt_pkgmodule.cc
parent89752fb6d465c78026befcc5a61e8af655587ad7 (diff)
downloadpython-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.cc1
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