rpms/system-config-printer/F-8 system-config-printer-state-reasons.patch, NONE, 1.1
Tim Waugh (twaugh)
fedora-extras-commits at redhat.com
Wed Mar 5 10:15:07 UTC 2008
Author: twaugh
Update of /cvs/pkgs/rpms/system-config-printer/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29116
Added Files:
system-config-printer-state-reasons.patch
Log Message:
- Include state-reasons work-around fix.
system-config-printer-state-reasons.patch:
--- NEW FILE system-config-printer-state-reasons.patch ---
diff -up system-config-printer-0.7.74.11/applet.py.state-reasons system-config-printer-0.7.74.11/applet.py
--- system-config-printer-0.7.74.11/applet.py.state-reasons 2008-03-03 17:52:19.000000000 +0000
+++ system-config-printer-0.7.74.11/applet.py 2008-03-05 10:12:33.000000000 +0000
@@ -127,7 +127,7 @@ def collect_printer_state_reasons (conne
printers = connection.getPrinters ()
for name, printer in printers.iteritems ():
reasons = printer["printer-state-reasons"]
- if type (reasons) == str:
+ if type (reasons) != list:
# Work around a bug that was fixed in pycups-1.9.20.
reasons = [reasons]
for reason in reasons:
diff -U0 system-config-printer-0.7.74.11/ChangeLog.state-reasons system-config-printer-0.7.74.11/ChangeLog
--- system-config-printer-0.7.74.11/ChangeLog.state-reasons 2008-03-03 17:52:19.000000000 +0000
+++ system-config-printer-0.7.74.11/ChangeLog 2008-03-05 10:12:33.000000000 +0000
@@ -0,0 +1,4 @@
+2008-03-05 Tim Waugh <twaugh at redhat.com>
+
+ * applet.py (collect_printer_state_reasons): Fix work-around.
+
More information about the fedora-extras-commits
mailing list