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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index f9fcf9e4fb..0d503a5142 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1733,7 +1733,7 @@ class CustomImageRecipe(Recipe):
1733 packages_conf += "\"" 1733 packages_conf += "\""
1734 1734
1735 base_recipe_path = self.get_base_recipe_file() 1735 base_recipe_path = self.get_base_recipe_file()
1736 if base_recipe_path: 1736 if base_recipe_path and os.path.isfile(base_recipe_path):
1737 base_recipe = open(base_recipe_path, 'r').read() 1737 base_recipe = open(base_recipe_path, 'r').read()
1738 else: 1738 else:
1739 # Pass back None to trigger error message to user 1739 # Pass back None to trigger error message to user