From 67bf174b1016ee46fc2651d1a43ca2f20982fccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Matos?= Date: Wed, 29 Mar 2017 12:34:53 +0100 Subject: [PATCH] lyx2lyx: convert iteritems -> items to be compatible with python 2 and 3 --- lib/lyx2lyx/lyx_2_3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_2_3.py b/lib/lyx2lyx/lyx_2_3.py index 5b770ed737..ddf7822fb9 100644 --- a/lib/lyx2lyx/lyx_2_3.py +++ b/lib/lyx2lyx/lyx_2_3.py @@ -166,7 +166,7 @@ def revert_ibranches(document): i += 1 # now we need to add the new branches to the header - for old, new in ibranches.iteritems(): + for old, new in ibranches.items(): i = find_token(document.header, "\\branch " + old, 0) if i == -1: document.warning("Can't find branch %s even though we found it before!" % (old))