Package: update-manager
Version: 0.200.5-1
Severity: important
User: [email protected]
Usertags: python2.7

no trailing text is allowed in locale.format() in python2.7 anymore, see:
http://bugs.python.org/issue10379

this is present in two cases in update-manager:
update-manager-core/unpacked/usr/share/pyshared/UpdateManager/Util/humanize.py:44:
       return locale.format(_("%.0f KB"), float(num_bytes)/1024)
update-manager-core/unpacked/usr/share/pyshared/UpdateManager/Util/humanize.py:47:
       return locale.format(_("%.1f MB"), float(num_bytes) / 1024 / 1024)

One can fix it by replacing locale.format with locale.format_string.
As Debian is transitioning to python2.7 in near future this should get
resolved soon.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to