ci-license-scan: A control char is gibberish enough
Assume that any string containing a control character is gibberish.
Rely on the `unicodedata` module to know which character is a control
character and what is not.
This addresses some bad interactions with control characters ending up
in the diff output, like u+0098 aka Start-Of-String (SOS) preventing the
output to be displayed on terminal emulators like xterm.
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
parent
35734703
No related branches found
No related tags found
Pipeline #146910 passed
Please register or sign in to comment