diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-08-15 14:21:05 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-08-15 17:02:12 +0000 |
commit | 844cc74c2c2e43477fcbda7c471cfc6734f208ad (patch) | |
tree | f6daa8e2f243d787f7787ba0374bcaec79d1a201 /morphlib/morphloader.py | |
parent | 306b330553ff8936d192957c24313dea8884ce68 (diff) | |
download | morph-844cc74c2c2e43477fcbda7c471cfc6734f208ad.tar.gz |
Fix how stratum empty build deps check is done
The old code, which MorphologyLoader will replace, allows build-mode
test as well as bootstrap, so the new code needs to do that too.
Suggested by Richard Maw.
Diffstat (limited to 'morphlib/morphloader.py')
-rw-r--r-- | morphlib/morphloader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/morphloader.py b/morphlib/morphloader.py index 597d4ec6..50aa9b38 100644 --- a/morphlib/morphloader.py +++ b/morphlib/morphloader.py @@ -271,7 +271,7 @@ class MorphologyLoader(object): # it has chunks built in bootstrap mode. if 'build-depends' not in morph: for spec in morph['chunks']: - if spec.get('build-mode') == 'bootstrap': + if spec.get('build-mode') in ['bootstrap', 'test']: break else: raise NoStratumBuildDependenciesError( |