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

dion at linutronix.de dion at linutronix.de
Fri May 17 11:17:01 CEST 2019


From: Olivier Dion <dion at linutronix.de>

Signed-off-by: Olivier Dion <dion 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




More information about the elbe-devel mailing list