diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index fc017dd19f..a85e3587fd 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -352,7 +352,7 @@ class BBCooker: | |||
352 | self.caches_array.append(getattr(module, cache_name)) | 352 | self.caches_array.append(getattr(module, cache_name)) |
353 | except ImportError as exc: | 353 | except ImportError as exc: |
354 | logger.critical("Unable to import extra RecipeInfo '%s' from '%s': %s" % (cache_name, module_name, exc)) | 354 | logger.critical("Unable to import extra RecipeInfo '%s' from '%s': %s" % (cache_name, module_name, exc)) |
355 | sys.exit("FATAL: Failed to import extra cache class '%s'." % cache_name) | 355 | raise bb.BBHandledException() |
356 | 356 | ||
357 | self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False) | 357 | self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False) |
358 | self.databuilder.parseBaseConfiguration() | 358 | self.databuilder.parseBaseConfiguration() |
@@ -1127,7 +1127,7 @@ class BBCooker: | |||
1127 | from bb import shell | 1127 | from bb import shell |
1128 | except ImportError: | 1128 | except ImportError: |
1129 | parselog.exception("Interactive mode not available") | 1129 | parselog.exception("Interactive mode not available") |
1130 | sys.exit(1) | 1130 | raise bb.BBHandledException() |
1131 | else: | 1131 | else: |
1132 | shell.start( self ) | 1132 | shell.start( self ) |
1133 | 1133 | ||