mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
lyx2lyx: convert iteritems -> items to be compatible with python 2 and 3
This commit is contained in:
parent
f043541ebd
commit
67bf174b10
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user