summaryrefslogtreecommitdiff
path: root/apt/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'apt/cache.py')
-rw-r--r--apt/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 259d7b9d..5b95ec35 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -185,7 +185,7 @@ class Cache(object):
if res == pm.ResultFailed:
raise SystemError, "install failed"
- return res
+ return (res == pm.ResultCompleted)
# cache changes
def cachePostChange(self):