summaryrefslogtreecommitdiff
path: root/buildstream/_artifactcache/artifactcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_artifactcache/artifactcache.py')
-rw-r--r--buildstream/_artifactcache/artifactcache.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/buildstream/_artifactcache/artifactcache.py b/buildstream/_artifactcache/artifactcache.py
index 29af36a7b..2a1ea75f3 100644
--- a/buildstream/_artifactcache/artifactcache.py
+++ b/buildstream/_artifactcache/artifactcache.py
@@ -600,10 +600,6 @@ class ArtifactCache():
# generated by
# `ArtifactCache.get_artifact_fullname`)
#
- # Returns:
- # (int|None) The amount of space pruned from the repository in
- # Bytes, or None if defer_prune is True
- #
def remove(self, ref):
# Remove extract if not used by other ref
@@ -624,7 +620,7 @@ class ArtifactCache():
if remove_extract:
utils._force_rmtree(extract)
- return self.cas.remove(ref, defer_prune=True)
+ self.cas.remove(ref)
# extract():
#