summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-14 13:02:37 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-01-16 14:28:14 -0500
commit32bdded87cd96348d354d42be2c66e9e765f6b01 (patch)
tree11e615084fb1cd10ccb91e46bcca0c280e28a4f8
parent04ba59bcedb2ff60187bd853667b2d26e7a5c06c (diff)
downloadbuildstream-32bdded87cd96348d354d42be2c66e9e765f6b01.tar.gz
_artifactcache/artifactcache.py: Rephrase failure message
It was saying "There is not enough space to build the given element.", this makes me think the error is associated to a specific element, but this does not make sense to show up in a cleanup task. Instead say "There is not enough space to complete the build.", which should be more clear that even after cleaning up there is not enough space.
-rw-r--r--buildstream/_artifactcache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_artifactcache.py b/buildstream/_artifactcache.py
index cdbf2d9db..16bde737b 100644
--- a/buildstream/_artifactcache.py
+++ b/buildstream/_artifactcache.py
@@ -247,7 +247,7 @@ class ArtifactCache():
# FIXME: Asking the user what to do may be neater
default_conf = os.path.join(os.environ['XDG_CONFIG_HOME'],
'buildstream.conf')
- detail = ("There is not enough space to build the given element.\n"
+ detail = ("There is not enough space to complete the build.\n"
"Please increase the cache-quota in {}."
.format(self.context.config_origin or default_conf))