summaryrefslogtreecommitdiff
path: root/morphlib/plugins/cross-bootstrap_plugin.py
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-08-08 07:59:02 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-08-14 13:28:50 +0000
commit9e35ea90a1f2c41c3808633e76930f86da6336e5 (patch)
tree4089e408578baabc6f7e3d167107fa7db659e42a /morphlib/plugins/cross-bootstrap_plugin.py
parent95c5f93d554883fdedaeb3e111e1be9f88e0045c (diff)
downloadmorph-9e35ea90a1f2c41c3808633e76930f86da6336e5.tar.gz
morphloader: Get commands when loading morphology
Rather than having a `get_commands` method to obtain missing commands from the build system when they are needed, get the commands when loading a morphology.
Diffstat (limited to 'morphlib/plugins/cross-bootstrap_plugin.py')
-rw-r--r--morphlib/plugins/cross-bootstrap_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/cross-bootstrap_plugin.py b/morphlib/plugins/cross-bootstrap_plugin.py
index cd8e355e..0c3e3a4a 100644
--- a/morphlib/plugins/cross-bootstrap_plugin.py
+++ b/morphlib/plugins/cross-bootstrap_plugin.py
@@ -182,7 +182,7 @@ class BootstrapSystemBuilder(morphlib.builder2.BuilderBase):
for step, in_parallel in steps:
key = '%s-commands' % step
- cmds = m.get_commands(key)
+ cmds = m[key]
for cmd in cmds:
f.write('(')
if in_parallel: