summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 07:04:19 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 07:04:19 +0000
commit946b7d308a0fa688d612e44455dc9f072f4617b6 (patch)
tree939ab08684f1fa14548471e13828cbf692d7e67e /bin
parentFilter virtuals when expanding atoms if it helps to avoid an ambiguity. (diff)
downloadportage-multirepo-946b7d308a0fa688d612e44455dc9f072f4617b6.tar.gz
portage-multirepo-946b7d308a0fa688d612e44455dc9f072f4617b6.tar.bz2
portage-multirepo-946b7d308a0fa688d612e44455dc9f072f4617b6.zip
Show an error message when deletion of stale cache fails. (trunk r13315)
svn path=/main/branches/2.1.6/; revision=13486
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: