summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-10-01 13:47:33 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-10-01 13:47:33 +0200
commit4a8fb0247a7260ee2c74f541d5cc04446f02dd60 (patch)
tree665ec16a0965b2de99b704dbc9071be6e937d212 /python
parent6ade8dd5fe013b0c42dbd8ce1bd5263da097e96e (diff)
parentd3d4d322614a44cf84a6f2b40bc21d09bbfb2405 (diff)
downloadpython-apt-4a8fb0247a7260ee2c74f541d5cc04446f02dd60.tar.gz
merged from lp:~jamesodhunt/python-apt/fix-for-PkgCacheGetIsMultiArch and prepare new upload
Diffstat (limited to 'python')
-rw-r--r--python/cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc
index c51bd4af..10561ca0 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[] = {