summaryrefslogtreecommitdiff
path: root/python/cache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-15 10:58:42 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-15 10:58:42 +0200
commit2e754964b0570ff72c82aa012142adf504e01f0e (patch)
treea6cf324f43fe5fd11a5651c6f8186a987a1da922 /python/cache.cc
parent43d87e1b14719750585412ab1d15fc30e280b7d0 (diff)
parent7bd938dd78ab27ec23ffd84811dbdfa5dd83593a (diff)
downloadpython-apt-2e754964b0570ff72c82aa012142adf504e01f0e.tar.gz
merge from the debian-sid branch
Diffstat (limited to 'python/cache.cc')
-rw-r--r--python/cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc
index a1a865af..e527faba 100644
--- a/python/cache.cc
+++ b/python/cache.cc
@@ -286,7 +286,7 @@ static PyObject *PkgCacheGetFileList(PyObject *Self, void*) {
static PyObject *PkgCacheGetIsMultiArch(PyObject *Self, void*) {
pkgCache *Cache = GetCpp<pkgCache *>(Self);
- PyBool_FromLong(Cache->MultiArchCache());
+ return PyBool_FromLong(Cache->MultiArchCache());
}
static PyGetSetDef PkgCacheGetSet[] = {