~barry/ubuntu/lucid/update-manager/fix-511628

« back to all changes in this revision

Viewing changes to DistUpgrade/DistUpgradeViewGtk.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2009-10-14 22:28:26 UTC
  • Revision ID: james.westby@ubuntu.com-20091014222826-28rcff8dvof6t63s
Tags: 1:0.126.3
* UpdateManager/UpdateManager.py:
  - refresh "last updated" text periodically to ensure its
    not stale (LP: #450286)
* DistUpgrade/DistUpgradeViewGtk.py:
  - deal with io errors when writing the log (LP: #447693)
* debian/control:
  - add or-dependency to qemu-kvm
* DistUpgrade/DistUpgrade.cfg:
  - add policykit-gnome and gnome-mount to the forced obsoleted
    packages (thanks to seb128) 
* merge translations from rosetta
* DistUpgrade/DistUpgradeQuirks.py:
  - stop docvert-converter when the upgrade starts, otherwise
    OOo will not upgrade at all (LP: #450569)
* pre-build.sh:
  - fix bug in the demoted.cfg generation
  - fixes in cleanup handling
* UpdateManager/backend/__init__.py:
  - honor UPDATE_MANAGER_FORCE_BACKEND_APTDAEMON environment
* DistUpgrade/DistUpgrade.cfg.hardy:
  - updated to include demoted.cfg.hardy

Show diffs side-by-side

added added

removed removed

Lines of Context:
472
472
          new_lines.append(line)
473
473
          if not line in self._terminal_lines:
474
474
            self._terminal_log.write(line+"\n")
475
 
            self._terminal_log.flush()
 
475
            try:
 
476
              self._terminal_log.flush()
 
477
            except IOError, e:
 
478
              logging.exception("flush()")
476
479
        self._terminal_lines = new_lines
477
480
    def getFetchProgress(self):
478
481
        return self._fetchProgress