Fixed typo which could cause a traceback (bug #965678).

This commit is contained in:
Tim Waugh 2013-05-21 17:29:07 +01:00
parent cfad2ffd71
commit 9425c5d404
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -up system-config-printer-1.4.1/asyncipp.py.typo system-config-printer-1.4.1/asyncipp.py
--- system-config-printer-1.4.1/asyncipp.py.typo 2013-05-09 12:10:43.000000000 +0100
+++ system-config-printer-1.4.1/asyncipp.py 2013-05-21 17:22:48.691678684 +0100
@@ -354,7 +354,7 @@ class _IPPAuthOperation:
self._reconnect = False
self._reconnected = True
debugprint ("%s (_error_handler): reconnecting (as %s)..." %
- (self, self_user))
+ (self, self._user))
conn.reconnect (self._user,
reply_handler=self._reconnect_reply,
error_handler=self._reconnect_error)

View File

@ -11,6 +11,7 @@ Patch2: system-config-printer-utf8-961882.patch
Patch3: system-config-printer-utf8-962207.patch Patch3: system-config-printer-utf8-962207.patch
Patch4: system-config-printer-utf8-964673.patch Patch4: system-config-printer-utf8-964673.patch
Patch5: system-config-printer-utf8-965578.patch Patch5: system-config-printer-utf8-965578.patch
Patch6: system-config-printer-typo.patch
BuildRequires: cups-devel >= 1.2 BuildRequires: cups-devel >= 1.2
BuildRequires: desktop-file-utils >= 0.2.92 BuildRequires: desktop-file-utils >= 0.2.92
@ -79,6 +80,9 @@ printers.
%patch4 -p1 -b .utf8-964673 %patch4 -p1 -b .utf8-964673
%patch5 -p1 -b .utf8-965578 %patch5 -p1 -b .utf8-965578
# Fixed typo which could cause a traceback (bug #965678).
%patch6 -p1 -b .typo
%build %build
%configure --with-udev-rules %configure --with-udev-rules
@ -179,6 +183,7 @@ exit 0
%changelog %changelog
* Tue May 21 2013 Tim Waugh <twaugh@redhat.com> 1.4.1-2 * Tue May 21 2013 Tim Waugh <twaugh@redhat.com> 1.4.1-2
- Fixed typo which could cause a traceback (bug #965678).
- Fixes for UTF-8 encoding issues (bug #957444, bug #961882, - Fixes for UTF-8 encoding issues (bug #957444, bug #961882,
bug #962207, bug #964673, bug #965578). bug #962207, bug #964673, bug #965578).