Commit 198601a5 authored by Guillaume Seguin's avatar Guillaume Seguin

Remove deprecated code

parent 13042f21
......@@ -166,12 +166,6 @@ class printcore():
except: pass
if self.loud: print "RECV: ", line.rstrip()
return line
except SelectError, e:
if 'Bad file descriptor' in e.args[1]:
print "Can't read from printer (disconnected?)."
return None
else:
raise
except SerialException, e:
print "Can't read from printer (disconnected?)."
return None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment