mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
1a26f9b26c
The layout2layout.py script already reads and writes files in binary format. However, all regexes and comparisons assume strings, so that python3 chokes on them. This commit converts all involved strings into bytes-like objects. In this way both python 2 and 3 behave the same.