[elbe-devel] [PATCH v2 07/27] soapclient: remove b'' from wait_busy log output

Bastian Germann bage at linutronix.de
Thu Sep 24 17:01:55 CEST 2020


Am 24.09.20 um 16:56 schrieb Torben Hohn:
> printing bytes('value') results in b'value'.
> Just print msg.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

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

> ---
>  elbepack/soapclient.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/soapclient.py b/elbepack/soapclient.py
> index 538277505..7652a033e 100644
> --- a/elbepack/soapclient.py
> +++ b/elbepack/soapclient.py
> @@ -636,7 +636,7 @@ class WaitProjectBusyAction(ClientAction):
>              if msg == 'ELBE-FINISH':
>                  break
>  
> -            print(msg.encode(encoding="utf-8", errors="replace"))
> +            print(msg)
>  
>          # exited the while loop -> the project is not busy anymore,
>          # check, whether everything is ok.
> 


More information about the elbe-devel mailing list