Signed-off-by: Jason Kölker <[email protected]>
---
ryu/services/protocols/ovsdb/client.py | 6 +++---
ryu/services/protocols/ovsdb/manager.py | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ryu/services/protocols/ovsdb/client.py
b/ryu/services/protocols/ovsdb/client.py
index 387d91b..525b432 100644
--- a/ryu/services/protocols/ovsdb/client.py
+++ b/ryu/services/protocols/ovsdb/client.py
@@ -261,9 +261,9 @@ class RemoteOvsdb(app_manager.RyuApp):
hub.sleep(0.1)
continue
- for event in events:
- ev = event[0]
- args = event[1]
+ for e in events:
+ ev = e[0]
+ args = e[1]
self._submit_event(ev(self.system_id, *args))
hub.sleep(0)
diff --git a/ryu/services/protocols/ovsdb/manager.py
b/ryu/services/protocols/ovsdb/manager.py
index 327f216..afe949f 100644
--- a/ryu/services/protocols/ovsdb/manager.py
+++ b/ryu/services/protocols/ovsdb/manager.py
@@ -137,8 +137,8 @@ class OVSDB(app_manager.RyuApp):
self.main_thread = None
# NOTE(jkoelker) Stop all the clients
- for client in self._clients.values():
- client.stop()
+ for c in self._clients.values():
+ c.stop()
# NOTE(jkoelker) super will only take care of the event and joining now
super(OVSDB, self).stop()
--
2.7.2
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel