diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2015-08-20 14:00:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-20 22:03:42 +0100 |
commit | f64def7cb6069dc1134fcd546bb59e4030c7376f (patch) | |
tree | 60284f5e1651d94c46ece4a32e827e55158fdde1 | |
parent | 5982b5df9288a5773c7314234e2e0432f85678f2 (diff) | |
download | bitbake-f64def7cb6069dc1134fcd546bb59e4030c7376f.tar.gz |
main: Handle RuntimeError exception in list_extension_modules
This exception was triggered in toaster from recent changes and is completely
breaking the whole of bitbake. Add the exception to the list so at least only
toaster is affected.
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | lib/bb/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/main.py b/lib/bb/main.py index c98cf444b..910cd6444 100755 --- a/lib/bb/main.py +++ b/lib/bb/main.py @@ -60,7 +60,7 @@ def list_extension_modules(pkg, checkattr): continue try: module = __import__(pkg.__name__, fromlist=[modulename]) - except (ImportError, SystemExit): + except (ImportError, SystemExit, RuntimeError): # If we can't import it, it's not valid continue module_if = getattr(module, modulename) |