system-config-printer/system-config-printer-device-ids-warning.patch

24 lines
1.1 KiB
Diff

diff -up system-config-printer-1.1.92/cupshelpers/ppds.py.device-ids-warning system-config-printer-1.1.92/cupshelpers/ppds.py
--- system-config-printer-1.1.92/cupshelpers/ppds.py.device-ids-warning 2010-01-27 11:17:44.000000000 +0000
+++ system-config-printer-1.1.92/cupshelpers/ppds.py 2010-02-21 18:27:20.767175951 +0000
@@ -2,7 +2,7 @@
## system-config-printer
-## Copyright (C) 2006, 2007, 2008, 2009 Red Hat, Inc.
+## Copyright (C) 2006, 2007, 2008, 2009, 2010 Red Hat, Inc.
## Copyright (C) 2006 Florian Festi <ffesti@redhat.com>
## Copyright (C) 2006, 2007, 2008, 2009 Tim Waugh <twaugh@redhat.com>
@@ -561,6 +561,10 @@ class PPDs:
try:
ppdnamelist += self.ids["hp"][mdll]
status = self.STATUS_SUCCESS
+ print ("**** Incorrect IEEE 1284 Device ID: %s" %
+ self.ids["hp"][mdll])
+ print "**** Actual ID is MFG:%s;MDL:%s;" % (mfg, mdl)
+ print "**** Please report a bug against the HPLIP component"
id_matched = True
except KeyError:
pass