From dcbfd05707085b21d70f15ad0d0c1d9a12016d13 Mon Sep 17 00:00:00 2001 From: zhangyanxian Date: Tue, 20 Sep 2016 01:44:13 +0000 Subject: [PATCH] Optimize the name of the variable in the function trivial fix Change-Id: I7e52b2ab3954a07e068594a9dd3b56b0d56bee97 --- dragonflow/tests/common/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dragonflow/tests/common/utils.py b/dragonflow/tests/common/utils.py index ac14d5e96..72edba6e9 100644 --- a/dragonflow/tests/common/utils.py +++ b/dragonflow/tests/common/utils.py @@ -131,10 +131,10 @@ class OvsDBParser(object): def _parse_ovsdb_interfaces(self, interfaces): interfaces_list = interfaces.split("\n\n") interfaces_as_dicts = [] - for inteface in interfaces_list: - if len(inteface) == 0: + for interface in interfaces_list: + if len(interface) == 0: continue - fs = inteface.split("\n") + fs = interface.split("\n") res = {} for item in fs: if item.startswith('external_ids'):