diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index af21eae42a..7a17fce789 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1228,7 +1228,7 @@ class RunQueueExecuteTasks(RunQueueExecute): | |||
1228 | modname, name = sched.rsplit(".", 1) | 1228 | modname, name = sched.rsplit(".", 1) |
1229 | try: | 1229 | try: |
1230 | module = __import__(modname, fromlist=(name,)) | 1230 | module = __import__(modname, fromlist=(name,)) |
1231 | except ImportError, exc: | 1231 | except ImportError as exc: |
1232 | logger.critical("Unable to import scheduler '%s' from '%s': %s" % (name, modname, exc)) | 1232 | logger.critical("Unable to import scheduler '%s' from '%s': %s" % (name, modname, exc)) |
1233 | raise SystemExit(1) | 1233 | raise SystemExit(1) |
1234 | else: | 1234 | else: |