From a3d228a484cf471e999b6537987e2897d8a7bd4e Mon Sep 17 00:00:00 2001 From: Randy Witt Date: Thu, 20 Aug 2015 14:00:36 -0700 Subject: bitbake: 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. (Bitbake rev: f64def7cb6069dc1134fcd546bb59e4030c7376f) Signed-off-by: Randy Witt Signed-off-by: Richard Purdie --- bitbake/lib/bb/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index c98cf444b0..910cd64444 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/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) -- cgit v1.2.3-54-g00ecf