diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-30 14:37:38 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-30 14:37:38 +0100 |
commit | a8c151d23fdd5d4f396610f849e5c59e3fc9ff11 (patch) | |
tree | df9cb522c0d19f699f68793193dd0b8a754da68d /morphlib/buildsystem.py | |
parent | 59f19a99c8a56df5e72de3f7c0688493461c3cae (diff) | |
download | morph-a8c151d23fdd5d4f396610f849e5c59e3fc9ff11.tar.gz |
Improve error message for unknown build system name
Diffstat (limited to 'morphlib/buildsystem.py')
-rw-r--r-- | morphlib/buildsystem.py | 3 |
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) |