rpms/system-config-printer/F-11 system-config-printer-check-still-connecting.patch, NONE, 1.1 system-config-printer.spec, 1.332, 1.333
Tim Waugh
twaugh at fedoraproject.org
Mon Jan 18 16:35:57 UTC 2010
Author: twaugh
Update of /cvs/pkgs/rpms/system-config-printer/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12715
Modified Files:
system-config-printer.spec
Added Files:
system-config-printer-check-still-connecting.patch
Log Message:
* Mon Jan 18 2010 Tim Waugh <twaugh at redhat.com> - 1.1.16-9
- Avoid traceback when checking on connecting backends (bug #555552).
system-config-printer-check-still-connecting.patch:
monitor.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- NEW FILE system-config-printer-check-still-connecting.patch ---
diff -up system-config-printer-1.1.16/monitor.py.check-still-connecting system-config-printer-1.1.16/monitor.py
--- system-config-printer-1.1.16/monitor.py.check-still-connecting 2009-12-22 14:44:19.000000000 +0000
+++ system-config-printer-1.1.16/monitor.py 2010-01-18 16:31:05.664560326 +0000
@@ -1,7 +1,7 @@
#!/usr/bin/env python
-## Copyright (C) 2007, 2008, 2009 Tim Waugh <twaugh at redhat.com>
-## Copyright (C) 2007, 2008, 2009 Red Hat, Inc.
+## Copyright (C) 2007, 2008, 2009, 2010 Red Hat, Inc.
+## Author: Tim Waugh <twaugh at redhat.com>
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -208,7 +208,9 @@ class Monitor:
self.connecting_timers[printer] = timer
return False
- del self.connecting_timers[printer]
+ if self.connecting_timers.has_key (printer):
+ del self.connecting_timers[printer]
+
debugprint ("Still-connecting timer fired for `%s'" % printer)
(printer_jobs, my_printers) = self.sort_jobs_by_printer ()
self.update_connecting_devices (printer_jobs)
Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/F-11/system-config-printer.spec,v
retrieving revision 1.332
retrieving revision 1.333
diff -u -p -r1.332 -r1.333
--- system-config-printer.spec 12 Jan 2010 16:31:16 -0000 1.332
+++ system-config-printer.spec 18 Jan 2010 16:35:55 -0000 1.333
@@ -7,7 +7,7 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.1.16
-Release: 8%{?dist}
+Release: 9%{?dist}
License: GPLv2+
URL: http://cyberelk.net/tim/software/system-config-printer/
Group: System Environment/Base
@@ -25,6 +25,7 @@ Patch7: system-config-printer-select-non
Patch8: system-config-printer-ink-levels.patch
Patch9: system-config-printer-auth-no-pw.patch
Patch10: system-config-printer-copy-crash.patch
+Patch11: system-config-printer-check-still-connecting.patch
Patch101: pycups-request-readio.patch
@@ -85,6 +86,7 @@ the configuration tool.
%patch8 -p1 -b .ink-levels
%patch9 -p1 -b .auth-no-pw
%patch10 -p1 -b .copy-crash
+%patch11 -p1 -b .check-still-connecting
pushd pycups-%{pycups_version}
%patch101 -p1 -b .request-readio
@@ -195,6 +197,9 @@ rm -rf %buildroot
exit 0
%changelog
+* Mon Jan 18 2010 Tim Waugh <twaugh at redhat.com> - 1.1.16-9
+- Avoid traceback when checking on connecting backends (bug #555552).
+
* Mon Jan 11 2010 Tim Waugh <twaugh at redhat.com> - 1.1.16-8
- Fixed traceback when copying printer with certain job options
set (bug #554268).
More information about the scm-commits
mailing list