diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builddetailspage.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py index 6d8c38bd67..2ecd95d7f6 100755 --- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py | |||
@@ -227,10 +227,9 @@ class BuildDetailsPage (HobPage): | |||
227 | label = gtk.Label() | 227 | label = gtk.Label() |
228 | label.set_alignment(0.0, 0.5) | 228 | label.set_alignment(0.0, 0.5) |
229 | # Ensure variable disk_full is defined | 229 | # Ensure variable disk_full is defined |
230 | try: | 230 | if not hasattr(self.builder, 'disk_full'): |
231 | self.builder.disk_full | ||
232 | except NameError: | ||
233 | self.builder.disk_full = False | 231 | self.builder.disk_full = False |
232 | |||
234 | if self.builder.disk_full: | 233 | if self.builder.disk_full: |
235 | markup = "<span size='medium'>There is no disk space left, so Hob cannot finish building your image. Free up some disk space\n" | 234 | markup = "<span size='medium'>There is no disk space left, so Hob cannot finish building your image. Free up some disk space\n" |
236 | markup += "and restart the build. Check the \"Issues\" tab for more details</span>" | 235 | markup += "and restart the build. Check the \"Issues\" tab for more details</span>" |