summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-27 15:45:19 -0700
committerZac Medico <zmedico@gentoo.org>2012-06-27 15:45:19 -0700
commit54932ac1af5761fd055e90b358d380e828a95d54 (patch)
tree847ff0e160f9e085cd97b80d5aef9e226e00b587 /bin/egencache
parent69ae09d8fce2ed23c4eca7b7af83a3b47626795e (diff)
downloadportage-54932ac1af5761fd055e90b358d380e828a95d54.tar.gz
portage-54932ac1af5761fd055e90b358d380e828a95d54.tar.bz2
portage-54932ac1af5761fd055e90b358d380e828a95d54.zip
egencache: prune empty cache directoriesv2.2.0_alpha114
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/egencache b/bin/egencache
index 2f53b40e3..a75a34172 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -426,6 +426,9 @@ class GenCache(object):
"committing target: %s\n" % (ce,),
level=logging.ERROR, noiselevel=-1)
+ if hasattr(trg_cache, '_prune_empty_dirs'):
+ trg_cache._prune_empty_dirs()
+
class GenUseLocalDesc(object):
def __init__(self, portdb, output=None,
preserve_comments=False):