diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-05-05 15:27:43 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-05-12 12:26:10 +0000 |
commit | 9cc12c9cd75ad98d18cbd9c277cd31bf5ed55adf (patch) | |
tree | 86aa234acdfbaca28394d16c88d2f1fda95f2b96 /distbuild/build_controller.py | |
parent | 2d19611ace78aec071607fafd0e2798412cc4286 (diff) | |
download | morph-9cc12c9cd75ad98d18cbd9c277cd31bf5ed55adf.tar.gz |
Clean up artifact serialisation
We no longer serialise whole artifacts, so it doesn't make sense
for things to still refer to serialise-artifact and similar.
Change-Id: Id4d563a07041bbce77f13ac71dc3f7de39df5e23
Diffstat (limited to 'distbuild/build_controller.py')
-rw-r--r-- | distbuild/build_controller.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distbuild/build_controller.py b/distbuild/build_controller.py index 5f281682..3a099b82 100644 --- a/distbuild/build_controller.py +++ b/distbuild/build_controller.py @@ -335,7 +335,7 @@ class BuildController(distbuild.StateMachine): self._artifact_error = distbuild.StringBuffer() argv = [ self._morph_instance, - 'serialise-artifact', + 'calculate-build-graph', '--quiet', self._request['repo'], self._request['ref'], @@ -380,7 +380,7 @@ class BuildController(distbuild.StateMachine): text = self._artifact_data.peek() try: - artifact = distbuild.deserialise_artifact(text) + artifact = distbuild.decode_artifact_reference(text) except ValueError as e: logging.error(traceback.format_exc()) self.fail('Failed to compute build graph: %s' % e) |