Fixed an issue with a readline from socket in bpd

This commit is contained in:
Matteo Mecucci 2012-06-03 11:29:35 +02:00
parent 030c656a75
commit df25de89f7

View file

@ -583,9 +583,10 @@ class Connection(object):
clist = None # Initially, no command list is being constructed.
while True:
line = (yield self.sock.readline()).strip()
line = yield self.sock.readline()
if not line:
break
line = line.strip()
log.debug(line)
if clist is not None: