From b337333afc30143dda0e32b1b2c29884ddbff202 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 4 Oct 2013 11:36:08 +0900 Subject: [PATCH] fix handling pending silly bug Signed-off-by: FUJITA Tomonori --- ryu/controller/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/controller/api.py b/ryu/controller/api.py index bda03fe9..cc7383a3 100644 --- a/ryu/controller/api.py +++ b/ryu/controller/api.py @@ -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: