[elbe-devel] [PATCH v2 23/27] log: also filter CTRL-H (BS)

Bastian Germann bage at linutronix.de
Thu Sep 24 18:49:13 CEST 2020


Am 24.09.20 um 16:56 schrieb Torben Hohn:
> soap does not like xml incompatible strings.
> 
> Also Filter CTRL-H which is emitted by mkfs.ext4, for example.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>  elbepack/log.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/elbepack/log.py b/elbepack/log.py
> index db3b4d246..e81559f43 100644
> --- a/elbepack/log.py
> +++ b/elbepack/log.py
> @@ -269,6 +269,7 @@ class AsyncLogging(object):
>  
>                  # filter out ansi sequences.
>                  logbuf = re.sub('\u001b\[.*?[@-~]', '', logbuf)
> +                logbuf = re.sub('\u0008', '', logbuf)
>  
>                  self.stream.info(logbuf)
>  
> 


More information about the elbe-devel mailing list