summaryrefslogtreecommitdiff
path: root/morphlib/buildsystem.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 14:37:38 +0100
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-30 14:37:38 +0100
commita8c151d23fdd5d4f396610f849e5c59e3fc9ff11 (patch)
treedf9cb522c0d19f699f68793193dd0b8a754da68d /morphlib/buildsystem.py
parent59f19a99c8a56df5e72de3f7c0688493461c3cae (diff)
downloadmorph-a8c151d23fdd5d4f396610f849e5c59e3fc9ff11.tar.gz
Improve error message for unknown build system name
Diffstat (limited to 'morphlib/buildsystem.py')
-rw-r--r--morphlib/buildsystem.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py
index 3d19af48..759693d2 100644
--- a/morphlib/buildsystem.py
+++ b/morphlib/buildsystem.py
@@ -104,6 +104,7 @@ class AutotoolsBuildSystem(BuildSystem):
build_systems = [
ManualBuildSystem(),
AutotoolsBuildSystem(),
+ DummyBuildSystem(),
]
@@ -132,5 +133,5 @@ def lookup_build_system(name):
for bs in build_systems:
if bs.name == name:
return bs
- raise KeyError(name)
+ raise KeyError('Unknown build system: %s' % name)