summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-rw-r--r--bitbake/lib/toaster/orm/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index be0bda5b15..849c22eede 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1750,8 +1750,8 @@ class CustomImageRecipe(Recipe):
1750 if base_recipe_path: 1750 if base_recipe_path:
1751 base_recipe = open(base_recipe_path, 'r').read() 1751 base_recipe = open(base_recipe_path, 'r').read()
1752 else: 1752 else:
1753 raise IOError("Based on recipe file not found: %s" % 1753 # Pass back None to trigger error message to user
1754 base_recipe_path) 1754 return None
1755 1755
1756 # Add a special case for when the recipe we have based a custom image 1756 # Add a special case for when the recipe we have based a custom image
1757 # recipe on requires another recipe. 1757 # recipe on requires another recipe.