[elbe-devel] [PATCH 7/7] Respect of PEP8

Torben Hohn torben.hohn at linutronix.de
Fri May 17 14:59:25 CEST 2019


On Fri, May 17, 2019 at 11:17:01AM +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 | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/elbepack/finetuning.py b/elbepack/finetuning.py
> index 4a92c024..aeeb9a9c 100644
> --- a/elbepack/finetuning.py
> +++ b/elbepack/finetuning.py
> @@ -372,9 +372,12 @@ class AddFileAction(FinetuningAction):
>          group = None
>          mode = None
>  
> -        if "owner" in att: owner = att["owner"]
> -        if "group" in att: group = att["group"]
> -        if "mode"  in att: mode  = att["mode"]
> +        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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20190517/c4a35256/attachment.sig>


More information about the elbe-devel mailing list