diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-11-02 09:49:09 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-11-02 09:55:20 -0400 |
commit | d333fbb3c9abfaf95a6f6ccac3429b67f3510055 (patch) | |
tree | ef7bdaa419d30d5140741ded1b143f37476bd765 /tests/__init__.py | |
parent | 860c3115d9c2f66dda7beddb0c0562ca0a76f7df (diff) | |
download | b4-d333fbb3c9abfaf95a6f6ccac3429b67f3510055.tar.gz |
Reimplement unicode control character logic
Instead of hardcoding the logic to bail at all presence of control
characters, soften it a bit to only error out when we see the presence
of Cfs in the absence of any other character from a non-latin character
set in the same line.
Additionally, show exactly where the Cfs were found when printing out
the error message.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions