Skip to content

Commit 83856b9

Browse files
committed
lpd queue names printed on the console
1 parent e58d4c9 commit 83856b9

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- dbus: remove deprecated at_console statement (https://github.com/zdohnal/system-config-printer/pull/123)
1616
- fixed several memory leaks reported by Coverity scan
1717
- temporary fix for error pop up message for IPP2.0+ attributes (https://github.com/zdohnal/system-config-printer/issues/122)
18+
- lpd queue names printed on the console (https://github.com/zdohnal/system-config-printer/issues/132)
1819

1920
1.5.10 changes
2021
--------------

probe_printer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ def probe_queue(self,name, result):
130130
s = open_socket(self.hostname, 515)
131131
if not s:
132132
return None
133-
print(name)
133+
debugprint(name)
134134

135135
try:
136136
s.send(('\2%s\n' % name).encode('UTF-8')) # cmd send job to queue
137137
data = s.recv(1024).decode('UTF-8') # receive status
138-
print(repr(data))
138+
debugprint(repr(data))
139139
except socket.error as msg:
140-
print(msg)
140+
debugprint(msg)
141141
try:
142142
s.close ()
143143
except:

0 commit comments

Comments
 (0)