speed up lyx2lyx reversion for non-Hebrew documents

This commit is contained in:
Juergen Spitzmueller 2016-12-13 07:30:40 +01:00
parent 89c4357bf1
commit a5ebabbb99

View File

@ -557,6 +557,9 @@ def revert_quotes(document):
continue
# Now handle Hebrew
if not document.language == "hebrew" and find_token(document.body, '\\lang hebrew', 0) == -1:
return
i = 0
j = 0
while True: