From b2207f456eb9d0a5859738772f42a7f1b0948c78 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 22 Sep 2009 10:05:56 +0000 Subject: [PATCH] - Fixed missing import in probe_printer module. --- system-config-printer-missing-import.patch | 11 +++++++++++ system-config-printer.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 system-config-printer-missing-import.patch diff --git a/system-config-printer-missing-import.patch b/system-config-printer-missing-import.patch new file mode 100644 index 0000000..03ca31a --- /dev/null +++ b/system-config-printer-missing-import.patch @@ -0,0 +1,11 @@ +diff -up system-config-printer-1.1.13/probe_printer.py.missing-import system-config-printer-1.1.13/probe_printer.py +--- system-config-printer-1.1.13/probe_printer.py.missing-import 2009-09-01 12:08:33.000000000 +0100 ++++ system-config-printer-1.1.13/probe_printer.py 2009-09-22 10:33:18.358546374 +0100 +@@ -20,6 +20,7 @@ + + import cupshelpers + from debug import * ++import errno + import socket, time + import gtk + from timedops import TimedOperation diff --git a/system-config-printer.spec b/system-config-printer.spec index efa65d2..004a39b 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -20,6 +20,7 @@ Patch2: system-config-printer-cancel-traceback.patch Patch3: system-config-printer-publish-printers.patch Patch4: system-config-printer-iconify.patch Patch5: system-config-printer-fetchdevices.patch +Patch6: system-config-printer-missing-import.patch BuildRequires: cups-devel >= 1.2 BuildRequires: python-devel >= 2.4 @@ -85,6 +86,7 @@ printers. %patch3 -p1 -b .publish-printers %patch4 -p1 -b .iconify %patch5 -p1 -b .fetchdevices +%patch6 -p1 -b .missing-import %build %configure --with-udev-rules --with-polkit-1 @@ -197,6 +199,7 @@ exit 0 %changelog * Tue Sep 22 2009 Tim Waugh 1.1.13-3 +- Fixed missing import in probe_printer module. - Fixed race when fetching device list (bug #521110). * Fri Sep 18 2009 Tim Waugh 1.1.13-2