summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-06-20 14:16:01 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-20 13:26:57 +0100
commit77264ca2ea7b0ff066d0857cf322fff2adca6394 (patch)
tree6041cce449e7452a1b37d59ea1fd078717fdb4ef /bitbake/lib
parent01f9d1b338d561213b5136bb3bd087e56eafbab7 (diff)
downloadpoky-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.py3
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 c018d709bf..1f7453ac33 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -169,7 +169,8 @@ class ImageConfigurationPage (HobPage):
169 169
170 def disable_warnings_bar(self): 170 def disable_warnings_bar(self):
171 if self.builder.parsing_warnings: 171 if self.builder.parsing_warnings:
172 self.warnings_bar.hide_all() 172 if hasattr(self, 'warnings_bar'):
173 self.warnings_bar.hide_all()
173 self.builder.parsing_warnings = [] 174 self.builder.parsing_warnings = []
174 175
175 def create_config_machine(self): 176 def create_config_machine(self):