system-config-printer/system-config-printer-physdev-traceback.patch

13 lines
606 B
Diff
Raw Normal View History

2009-10-28 16:43:38 +00:00
diff -up system-config-printer-1.1.13/PhysicalDevice.py.physdev-traceback system-config-printer-1.1.13/PhysicalDevice.py
--- system-config-printer-1.1.13/PhysicalDevice.py.physdev-traceback 2009-09-01 12:08:33.000000000 +0100
+++ system-config-printer-1.1.13/PhysicalDevice.py 2009-09-30 16:52:24.486760364 +0100
@@ -48,6 +48,8 @@ class PhysicalDevice:
hostport = ipparam[3:]
else:
return None
+ else:
+ return None
else:
(hostport, rest) = urllib.splithost (rest)
if hostport == None: