summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/services/protocols/ovsdb/client.py6
-rw-r--r--ryu/services/protocols/ovsdb/manager.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/ryu/services/protocols/ovsdb/client.py b/ryu/services/protocols/ovsdb/client.py
index 387d91b6..525b4328 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 327f2167..afe949fc 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()