diff options
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index 84df37de73..8d2d1bd327 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -495,7 +495,11 @@ class MainWindow (gtk.Window): | |||
495 | self.back.set_sensitive(True) | 495 | self.back.set_sensitive(True) |
496 | self.cancel.set_sensitive(False) | 496 | self.cancel.set_sensitive(False) |
497 | for f in self.files_to_clean: | 497 | for f in self.files_to_clean: |
498 | os.remove(f) | 498 | try: |
499 | os.remove(f) | ||
500 | except OSError: | ||
501 | pass | ||
502 | self.files_to_clean.remove(f) | ||
499 | self.files_to_clean = [] | 503 | self.files_to_clean = [] |
500 | 504 | ||
501 | lbl = "<b>Build completed</b>\n\nClick 'Edit Image' to start another build or 'View Messages' to view the messages output during the build." | 505 | lbl = "<b>Build completed</b>\n\nClick 'Edit Image' to start another build or 'View Messages' to view the messages output during the build." |