summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-16 15:35:52 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-03-16 15:35:52 +0000
commita85658c8e61ffaf48a6e54b0e90ddda0a57ff055 (patch)
tree5fff86646f23f941b533113c03855110296bcabe
parent9bf85ad75d38703e2ed28434f58acd1a13b6df83 (diff)
downloadmorph-a85658c8e61ffaf48a6e54b0e90ddda0a57ff055.tar.gz
fixup: Make distbuild fail
-rw-r--r--distbuild/build_controller.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py
index e2a63472..b4014b9b 100644
--- a/distbuild/build_controller.py
+++ b/distbuild/build_controller.py
@@ -339,7 +339,8 @@ class BuildController(distbuild.StateMachine):
self._components = find_artifacts(filenames, self._artifact)
if len(self._components) != len(filenames) \
and self._request['partial']:
- raise morphlib.Error('its too much sock')
+ self.fail('Failed to find all components in %s'
+ % self._artifact.name)
self._helper_id = self._idgen.next()
artifact_names = []