system-config-printer/system-config-printer-ipp-nonfatal-exception.patch
Tim Waugh 9579a563c6 - Avoid showing a non-fatal exception when adding an IPP printer (bug
#507629).
- Fixed traceback when adding/modifying printer which could lead to display
    bugs (bug #507489).
2009-06-24 09:45:25 +00:00

13 lines
730 B
Diff

diff -up system-config-printer-1.1.8/system-config-printer.py.ipp-nonfatal-exception system-config-printer-1.1.8/system-config-printer.py
--- system-config-printer-1.1.8/system-config-printer.py.ipp-nonfatal-exception 2009-06-24 10:28:47.773317435 +0100
+++ system-config-printer-1.1.8/system-config-printer.py 2009-06-24 10:29:24.339192122 +0100
@@ -4167,6 +4167,8 @@ class NewPrinterGUI(GtkGUI):
self.entNPDescription.set_text (info)
if len (location) > 0:
self.entNPLocation.set_text (location)
+ except RuntimeError:
+ pass
except:
nonfatalException ()