summaryrefslogtreecommitdiff
path: root/morphlib/builder2.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-06-11 10:31:38 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-06-13 13:49:39 +0100
commitba6d5500784e4fe2933d38121936e7237d41c304 (patch)
tree68ddb95b06f9ec6a59cfc1e7307c12d4b836eb6d /morphlib/builder2.py
parentee28f213b63bff228bf2db0a585cac2d7c4edbfa (diff)
downloadmorph-ba6d5500784e4fe2933d38121936e7237d41c304.tar.gz
SystemBuilder: __getitem__ is for indexing not properties
Note to self, remember python is not lua
Diffstat (limited to 'morphlib/builder2.py')
-rw-r--r--morphlib/builder2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py
index 2497216f..41313d13 100644
--- a/morphlib/builder2.py
+++ b/morphlib/builder2.py
@@ -384,7 +384,7 @@ class SystemBuilder(BuilderBase): # pragma: no cover
with self.build_watch('overall-build'):
logging.debug('SystemBuilder.do_build called')
- arch = self.artifact.source.morphology.arch
+ arch = self.artifact.source.morphology['arch']
handle = self.local_artifact_cache.put(self.artifact)
image_name = handle.name