diff options
| author | James Hunt <james.hunt@ubuntu.com> | 2012-10-01 09:10:49 +0100 |
|---|---|---|
| committer | James Hunt <james.hunt@ubuntu.com> | 2012-10-01 09:10:49 +0100 |
| commit | e1c3b6b4d481998a8656952bcc3f6bbacd681515 (patch) | |
| tree | 2ac85ce94578ade5df647a00b59fc56b4ee498c5 /python | |
| parent | a8290b2bd58aa4a75eeab34145daa4079b450533 (diff) | |
| download | python-apt-e1c3b6b4d481998a8656952bcc3f6bbacd681515.tar.gz | |
python/cache.cc: PkgCacheGetIsMultiArch(): Return calculated
value rather than a random one.
Diffstat (limited to 'python')
| -rw-r--r-- | python/cache.cc | 2 |
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[] = { |
