summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topojson.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/topojson.py')
-rw-r--r--tests/topotests/lib/topojson.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/topojson.py b/tests/topotests/lib/topojson.py
index b3af09aa99..6535918e36 100644
--- a/tests/topotests/lib/topojson.py
+++ b/tests/topotests/lib/topojson.py
@@ -216,7 +216,7 @@ def build_topo_from_json(tgen, topo):
# Physical Interfaces
if "links" in topo['switches'][curSwitch]:
for destRouterLink, data in sorted(
- topo['switches'][curSwitch]['links'].iteritems()):
+ topo['switches'][curSwitch]['links'].items()):
# Loopback interfaces
if "dst_node" in data: