From a85658c8e61ffaf48a6e54b0e90ddda0a57ff055 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Mon, 16 Mar 2015 15:35:52 +0000 Subject: fixup: Make distbuild fail --- distbuild/build_controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'distbuild/build_controller.py') 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 = [] -- cgit v1.2.1