~cloud-installer/cloud-installer/master

« back to all changes in this revision

Viewing changes to cloudinstall/gui.py

  • Committer: Adam Stokes
  • Date: 2016-06-09 14:27:18 UTC
  • Revision ID: git-v1:0dbe61708750199b1077f1946b90794ce5d33e18
log the attribute error exception on footer clear

Some instances clearing the statusbar results in an exception
as the currently scoped widget doesn't support set_text.

Log the exception for now as to get the installer working again.

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
        self.frame.header.set_openstack_rel(release)
189
189
 
190
190
    def clear_status(self):
191
 
        self.frame.footer.clear()
 
191
        try:
 
192
            self.frame.footer.clear()
 
193
        except Exception as e:
 
194
            log.exception(e)
192
195
 
193
196
    def render_services_view(self, nodes, juju_state, maas_state, config):
194
197
        self.services_view = ServicesView(nodes, juju_state, maas_state,