summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
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)