diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-05-11 18:58:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 18:04:09 +0100 |
commit | c5a16235b8b56102703bc264768ba386ebe90611 (patch) | |
tree | 1a3822b4225ac5de88cc812e14ec0080ffec0a4b /bitbake/lib/toaster/orm/models.py | |
parent | 35d75c83522a050f0e35a33f73317461e2adf554 (diff) | |
download | poky-c5a16235b8b56102703bc264768ba386ebe90611.tar.gz |
bitbake: toaster: fix html5 compliance
This patch brings needed changes in all views so that
each view passes the HTML5 compliance test by the
W3C Markup Service.
(Bitbake rev: 6e60ed8ab71e4300ab571f42b7af5011086df697)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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] |