fix handling pending silly bug

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2013-10-04 11:36:08 +09:00
parent 978513e833
commit b337333afc

View File

@ -177,8 +177,8 @@ class OFWireRpcSession(object):
rready, _, _ = select.select([self.socket], [], [], 5)
for idx in range(len(self.pending)):
print "found pending", msg
msg = self.pending.pop(0)
print "found pending", msg
self._handle_rpc_message(msg)
if len(rready) > 0: