diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index ce711b6252..e5bd9311f2 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1941,8 +1941,7 @@ class RunQueueExecute: | |||
1941 | try: | 1941 | try: |
1942 | module = __import__(modname, fromlist=(name,)) | 1942 | module = __import__(modname, fromlist=(name,)) |
1943 | except ImportError as exc: | 1943 | except ImportError as exc: |
1944 | logger.critical("Unable to import scheduler '%s' from '%s': %s" % (name, modname, exc)) | 1944 | bb.fatal("Unable to import scheduler '%s' from '%s': %s" % (name, modname, exc)) |
1945 | raise SystemExit(1) | ||
1946 | else: | 1945 | else: |
1947 | schedulers.add(getattr(module, name)) | 1946 | schedulers.add(getattr(module, name)) |
1948 | return schedulers | 1947 | return schedulers |