summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-11 02:43:35 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-11 02:43:35 +0000
commit903a9cb2d1b5ae836a06867a533ab8708c5e5245 (patch)
tree1d010ad2264df910017f4bfbd95d3a03110e4b8e /bin
parentFilter virtuals when expanding atoms if it helps to avoid an ambiguity. (diff)
downloadportage-multirepo-903a9cb2d1b5ae836a06867a533ab8708c5e5245.tar.gz
portage-multirepo-903a9cb2d1b5ae836a06867a533ab8708c5e5245.tar.bz2
portage-multirepo-903a9cb2d1b5ae836a06867a533ab8708c5e5245.zip
Show an error message when deletion of stale cache fails.
svn path=/main/trunk/; revision=13315
Diffstat (limited to 'bin')
-rwxr-xr-xbin/egencache5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index 89708ad7..4103651d 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -244,8 +244,11 @@ class GenCache(object):
del trg_cache[k]
except KeyError:
pass
- except CacheError:
+ except CacheError, ce:
self.returncode |= 1
+ writemsg_level(
+ "%s deleting stale cache: %s\n" % (k, ce),
+ level=logging.ERROR, noiselevel=-1)
if not trg_cache.autocommits:
try: