summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-18 20:03:49 +0200
committerMark Stapp <mjs@voltanet.io>2020-09-18 21:55:23 +0200
commite5f0ed147b18d2ea03703884921a656d4f7e6a30 (patch)
treed53355edffd996787c4a34aaffb89a16ff50de7d /doc
parentMerge pull request #7086 from ckishimo/flush_type5 (diff)
downloadfrr-e5f0ed147b18d2ea03703884921a656d4f7e6a30.tar.xz
frr-e5f0ed147b18d2ea03703884921a656d4f7e6a30.zip
tests: use .items instead of .iteritems in topotests
Avoid py2-only .iteritems() api. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/developer/topotests.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/developer/topotests.rst b/doc/developer/topotests.rst
index b32f2bbf4..5486fd826 100644
--- a/doc/developer/topotests.rst
+++ b/doc/developer/topotests.rst
@@ -722,7 +722,7 @@ Example:
.. code:: py
# For all registered routers, load the zebra configuration file
- for rname, router in router_list.iteritems():
+ for rname, router in router_list.items():
router.load_config(
TopoRouter.RD_ZEBRA,
os.path.join(CWD, '{}/zebra.conf'.format(rname))