summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-11-17 13:03:56 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-11-17 13:03:56 +0000
commit3c3dd501e3105b7623e07b71f1a59b671dafcafd (patch)
tree9478e40e3acfaf0b9451e2f7f876f2bfbba752bb /apt
parent25b0cfc0fe92da8a0114bd15aec16e47318b6f48 (diff)
downloadpython-apt-3c3dd501e3105b7623e07b71f1a59b671dafcafd.tar.gz
* fail if a download fails
Diffstat (limited to 'apt')
-rw-r--r--apt/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/cache.py b/apt/cache.py
index 973291c0..1fb128a3 100644
--- a/apt/cache.py
+++ b/apt/cache.py
@@ -117,7 +117,7 @@ class Cache(object):
def commit(self, fprogress, iprogress):
""" Apply the marked changes to the cache """
- self._depcache.Commit(fprogress, iprogress)
+ return self._depcache.Commit(fprogress, iprogress)
# cache changes
def cachePostChange(self):