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))