Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37716383
en ru br
ALT Linux repos
S:1.5.18-alt1

Group :: System/Configuration/Printing
RPM: system-config-printer

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix_search_printer.patch
Download


--- probe_printer.py	2018-06-21 10:28:31.541775363 +0300
+++ new_probe_printer.py	2018-06-21 10:29:40.594654711 +0300
@@ -146,14 +146,14 @@
             return False
 
         if len(data)>0 and ord(data[0])==0:
+            result.append(name)
             try:
                 s.send(b'\1\n')  # abort job again
                 s.close ()
             except:
                 pass
 
-            result.append(name)
-            return True
+            return
 
         try:
             s.close()
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin