]> git.lyx.org Git - features.git/commit
Fix literal string in binary context
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Oct 2017 08:04:27 +0000 (10:04 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 13 Oct 2017 16:38:01 +0000 (18:38 +0200)
commitbbac6b70378cffed1e8abc33882d00b06f0d0fec
treed157ec687fb760a3a768f8d1dc242fe692d9a66a
parent4242cbd50465bc927e0a0f6bcbda5fbf6a26ba67
Fix literal string in binary context

In 1a26f9b26cff827da5, all strings in the context of regexes and
comparisons have been converted to byte-like objects for python2/3
compatibility reasons. This has not been considered in the later
commit 5c545573507bb, which makes layout2layout break with
TypeError: can't concat str to bytes.

(cherry picked from commit 8fecdfc473d067f9caa79dffa7ab078d391d50ed)
lib/scripts/layout2layout.py