summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-13 15:33:11 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-14 17:39:11 +0000
commit7339b195554ad0d439017bdcce2426e824e66210 (patch)
tree41ed1571b4e783fc5eba679f2226025794e6f7ec /morphlib/buildcommand.py
parentd2eb452ee48253d6e90f7aa4f6c41b6fd8cdf009 (diff)
downloadmorph-7339b195554ad0d439017bdcce2426e824e66210.tar.gz
Only build systems again
We can no longer build strata individually because we don't know what architecture they are for.
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r--morphlib/buildcommand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index 6fe46e0b..55bb0158 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -85,7 +85,7 @@ class BuildCommand(object):
self.lrc, self.rrc, (repo_name, ref, filename))
root_kind = srcpool.lookup(repo_name, ref, filename).morphology['kind']
- if root_kind not in ['system', 'stratum']:
+ if root_kind is not 'system':
raise morphlib.Error(
'Building a %s directly is not supported' % root_kind)