diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-03-13 15:33:11 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-03-14 17:39:11 +0000 |
commit | 7339b195554ad0d439017bdcce2426e824e66210 (patch) | |
tree | 41ed1571b4e783fc5eba679f2226025794e6f7ec /morphlib | |
parent | d2eb452ee48253d6e90f7aa4f6c41b6fd8cdf009 (diff) | |
download | morph-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')
-rw-r--r-- | morphlib/buildcommand.py | 2 |
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) |