~brian-murray/update-manager/no-i386-upgrade

« back to all changes in this revision

Viewing changes to UpdateManager/backend/InstallBackendAptdaemon.py

  • Committer: Balint Reczey
  • Date: 2018-09-27 14:38:14 UTC
  • mfrom: (2840.1.2 master)
  • Revision ID: balint.reczey@canonical.com-20180927143814-5fvlc75l5cze5269
MergeĀ lp:~rbalint/update-manager/fix-pep8-cosmic

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        label_details.set_label(get_status_string_from_enum(status))
114
114
        # Also resize the window if we switch from download details to
115
115
        # the terminal window
116
 
        if (status == STATUS_COMMITTING and expander and
117
 
                expander.terminal.get_visible()):
 
116
        if status == STATUS_COMMITTING and expander \
 
117
           and expander.terminal.get_visible():
118
118
            self._resize_to_show_details(expander)
119
119
 
120
120
    @inline_callbacks