summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSatoshi Fujimoto <satoshi.fujimoto7@gmail.com>2017-06-16 11:45:46 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-23 12:08:18 +0900
commit10b9273928f95c3126c45492794cd7115c2854fb (patch)
treea47fae621bafb5521a5faa0b067cf4a1b21a5a8c
parent27b8d44bb1ad04a45a29ceafb14e307c49391c3c (diff)
service/ovsdb: Use Python 2/3 compatible code
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/services/protocols/ovsdb/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/services/protocols/ovsdb/client.py b/ryu/services/protocols/ovsdb/client.py
index 68d68661..7e7d2718 100644
--- a/ryu/services/protocols/ovsdb/client.py
+++ b/ryu/services/protocols/ovsdb/client.py
@@ -155,12 +155,12 @@ def _filter_schema(schema, schema_tables, exclude_table_columns):
"""
tables = {}
- for tbl_name, tbl_data in schema['tables'].iteritems():
+ for tbl_name, tbl_data in schema['tables'].items():
if not schema_tables or tbl_name in schema_tables:
columns = {}
exclude_columns = exclude_table_columns.get(tbl_name, [])
- for col_name, col_data in tbl_data['columns'].iteritems():
+ for col_name, col_data in tbl_data['columns'].items():
if col_name in exclude_columns:
continue