diff options
-rwxr-xr-x | bitbake/lib/bb/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
60 | continue | 60 | continue |
61 | try: | 61 | try: |
62 | module = __import__(pkg.__name__, fromlist=[modulename]) | 62 | module = __import__(pkg.__name__, fromlist=[modulename]) |
63 | except (ImportError, SystemExit): | 63 | except (ImportError, SystemExit, RuntimeError): |
64 | # If we can't import it, it's not valid | 64 | # If we can't import it, it's not valid |
65 | continue | 65 | continue |
66 | module_if = getattr(module, modulename) | 66 | module_if = getattr(module, modulename) |