diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2013-06-20 14:16:01 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-20 13:26:57 +0100 |
commit | 77264ca2ea7b0ff066d0857cf322fff2adca6394 (patch) | |
tree | 6041cce449e7452a1b37d59ea1fd078717fdb4ef /bitbake/lib | |
parent | 01f9d1b338d561213b5136bb3bd087e56eafbab7 (diff) | |
download | ast2050-yocto-poky-77264ca2ea7b0ff066d0857cf322fff2adca6394.zip ast2050-yocto-poky-77264ca2ea7b0ff066d0857cf322fff2adca6394.tar.gz |
bitbake: hob: check if imageconfiguration page has the attribute 'warnings_bar'
[YOCTO #4571]
(Bitbake rev: 53c6b65bbcd5a6d3caed8581533f31ac373163a7)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index c018d70..1f7453a 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py @@ -169,7 +169,8 @@ class ImageConfigurationPage (HobPage): def disable_warnings_bar(self): if self.builder.parsing_warnings: - self.warnings_bar.hide_all() + if hasattr(self, 'warnings_bar'): + self.warnings_bar.hide_all() self.builder.parsing_warnings = [] def create_config_machine(self): |