Remove prints

This commit is contained in:
Tomasz Fluxid Kowalczyk 2012-01-28 19:57:14 +01:00
parent 5c7ba50e55
commit b3981a5627

View File

@ -30,14 +30,12 @@ class MplayerProtocol(LineProcessProtocol):
if not line.startswith('ANS_'):
sys.stdout.write(line+'\n')
return
print line
m = RE_ANSWER.match(line)
if not m:
return
name, value = m.group(1).lower(), m.group(2)
handler = getattr(self, 'answer_' + name, None)
print value
if handler:
handler(value)