[elbe-devel] [PATCH v2 6/6] Respect of PEP8

Torben Hohn torben.hohn at linutronix.de
Tue May 21 10:53:25 CEST 2019


On Fri, May 17, 2019 at 04:36:59PM +0200, dion at linutronix.de wrote:
> From: Olivier Dion <dion at linutronix.de>
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>


> ---
>  elbepack/finetuning.py | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/elbepack/finetuning.py b/elbepack/finetuning.py
> index b508397b..426097aa 100644
> --- a/elbepack/finetuning.py
> +++ b/elbepack/finetuning.py
> @@ -375,10 +375,14 @@ class AddFileAction(FinetuningAction):
>          group = None
>          mode = None
>  
> -        if "encoding" in att: encoding = att["encoding"]
> -        if "owner" in att: owner = att["owner"]
> -        if "group" in att: group = att["group"]
> -        if "mode"  in att: mode  = att["mode"]
> +        if "encoding" in att:
> +            encoding = att["encoding"]
> +        if "owner" in att:
> +            owner = att["owner"]
> +        if "group" in att:
> +            group = att["group"]
> +        if "mode" in att:
> +            mode  = att["mode"]
>  
>          try:
>              target.mkdir_p(os.path.dirname(dst))
> -- 
> 2.21.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list