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 11:57:31 -0500
commitc70434c6e744fb252d13441fd1c51c82f05ef83f (patch)
tree2aeaf8f5d125c6d89e04400eccd469af09e69846
parentfea8030e0efb1e3d7a160fc04d0b92b489a618b3 (diff)
downloadbuildstream-tristan/element-processing-order.tar.gz
_artifactcache/artifactcache.py: Rephrase failure messagetristan/element-processing-order
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))