diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-10 13:51:03 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-10 13:52:27 +0000 |
commit | 39d1d623fa27417c1494f4dc82a2049cc60ce802 (patch) | |
tree | 9b99025de3471274c8148bd1d7321824a079feb6 | |
parent | f16a5206ec97e1c99231968f96f298379bb8a033 (diff) | |
download | morph-39d1d623fa27417c1494f4dc82a2049cc60ce802.tar.gz |
fixup: Fix gc
-rw-r--r-- | morphlib/plugins/gc_plugin.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/morphlib/plugins/gc_plugin.py b/morphlib/plugins/gc_plugin.py index 8b5dc4c2..54c1b43e 100644 --- a/morphlib/plugins/gc_plugin.py +++ b/morphlib/plugins/gc_plugin.py @@ -157,10 +157,9 @@ class GCPlugin(cliapp.Plugin): self.app.status(msg='Removing source %(cachekey)s', cachekey=cachekey, chatty=True) lac.remove(cachekey) + lac.prune() removed += 1 - lac.prune() - if sufficient_free(): self.app.status(msg='Made sufficient space in %(cache_path)s ' 'after removing %(removed)d sources', |