~mvo/update-manager/not-automatic

« back to all changes in this revision

Viewing changes to UpdateManager/Core/MyCache.py

  • Committer: Michael Vogt
  • Date: 2009-01-28 14:44:04 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090128144404-9t55gyjjq3nubgr6
* UpdateManager/Core/MyCache.py:
  - fix crash when no changelog can be found (LP: #320894)
* UpdateManager/Core/MetaRelease.py:
  - do not crash on disk full (LP: #321872)

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
                alllines = _("The changelog does not contain any relevant changes.\n\n"
180
180
                             "Please use http://launchpad.net/ubuntu/+source/%s/%s/+changelog\n"
181
181
                             "until the changes become available or try again "
182
 
                             "later.") % (srcpkg, srcver_epoch),
 
182
                             "later.") % (srcpkg, srcver_epoch)
183
183
            # only write if we where not canceld
184
184
            if lock.locked():
185
185
                self.all_changes[name] = [alllines, srcpkg]