parent
c2c3f5e90b
commit
2e7e08dee6
@ -6,7 +6,7 @@ diff -up hplip-3.14.4/base/utils.py.codec hplip-3.14.4/base/utils.py
|
|||||||
|
|
||||||
def commafy(val):
|
def commafy(val):
|
||||||
- return locale.format("%d", val, grouping=True).decode(locale.getpreferredencoding())
|
- return locale.format("%d", val, grouping=True).decode(locale.getpreferredencoding())
|
||||||
+ return locale.format("%d", val, grouping=True).decode(locale.getlocale(locale.LC_NUMERIC()[1]))
|
+ return locale.format("%d", val, grouping=True).decode(locale.getlocale(locale.LC_NUMERIC)[1])
|
||||||
|
|
||||||
|
|
||||||
def format_bytes(s, show_bytes=False):
|
def format_bytes(s, show_bytes=False):
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.14.4
|
Version: 3.14.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
|
|
||||||
Url: http://hplip.sourceforge.net/
|
Url: http://hplip.sourceforge.net/
|
||||||
@ -474,6 +474,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 22 2014 Tim Waugh <twaugh@redhat.com> - 3.14.4-3
|
||||||
|
- Fix for last fix (bug #984167).
|
||||||
|
|
||||||
* Wed Apr 16 2014 Tim Waugh <twaugh@redhat.com> - 3.14.4-2
|
* Wed Apr 16 2014 Tim Waugh <twaugh@redhat.com> - 3.14.4-2
|
||||||
- Fixed codec issue (bug #984167).
|
- Fixed codec issue (bug #984167).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user