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

dion at linutronix.de dion at linutronix.de
Tue May 21 14:47:20 CEST 2019


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




More information about the elbe-devel mailing list