~ubuntu-branches/ubuntu/vivid/aptdaemon/vivid-proposed

« back to all changes in this revision

Viewing changes to aptdaemon/console.py

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2015-04-07 11:34:02 UTC
  • mfrom: (1.5.18)
  • Revision ID: package-import@ubuntu.com-20150407113402-d5sjwhnv12x52ar1
Tags: 1.1.1+bzr982-0ubuntu1
fix crash in _on_progress_details() (LP: #1436725)

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
            self._progress_details = (
255
255
                _("Downloaded %(cur)sB of %(total)sB") %
256
256
                {'cur': client.get_size_string(bytes_done),
257
 
                 'rate': client.get_size_string(bytes_total)})
 
257
                 'total': client.get_size_string(bytes_total)})
258
258
        else:
259
259
            self._progress_details = ""
260
260
        self._update_progress()