diff options
Diffstat (limited to 'bitbake/lib/toaster/orm/models.py')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index c00c3520d8..b097504bbb 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -556,7 +556,7 @@ class Recipe(models.Model): | |||
556 | return "Recipe " + self.name + ":" + self.version | 556 | return "Recipe " + self.name + ":" + self.version |
557 | 557 | ||
558 | def get_local_path(self): | 558 | def get_local_path(self): |
559 | if settings.MANAGED and self.layer_version.build.project is not None: | 559 | if settings.MANAGED and self.layer_version.build is not None and self.layer_version.build.project is not None: |
560 | # strip any tag prefixes ('virtual:native:') | 560 | # strip any tag prefixes ('virtual:native:') |
561 | layer_path=self.layer_version.layer.local_path.split(":")[-1] | 561 | layer_path=self.layer_version.layer.local_path.split(":")[-1] |
562 | recipe_path=self.file_path.split(":")[-1] | 562 | recipe_path=self.file_path.split(":")[-1] |