From 3c3dd501e3105b7623e07b71f1a59b671dafcafd Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 17 Nov 2005 13:03:56 +0000 Subject: * fail if a download fails --- apt/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt') 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): -- cgit v1.2.3