[elbe-devel] [PATCH v4 30/41] Fix style for "packers.py"

dion at linutronix.de dion at linutronix.de
Mon Jul 8 17:18:26 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/packers.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/elbepack/packers.py b/elbepack/packers.py
index 894f94c1..ea0c90af 100644
--- a/elbepack/packers.py
+++ b/elbepack/packers.py
@@ -51,10 +51,8 @@ class TarArchiver(Packer):
             dirname = os.path.dirname(fpath)
             basename = os.path.basename(fpath)
             archname = fpath + self.suffix
-            do('tar cv%sf "%s" --sparse -C "%s" "%s"' % (self.flag,
-                                                         archname,
-                                                         dirname,
-                                                         basename))
+            do('tar cv%sf "%s" --sparse -C "%s" "%s"' %
+               (self.flag, archname, dirname, basename))
             do('rm -f "%s"' % fpath)
         except CommandError:
             # in case of an error, we just return None
-- 
2.11.0




More information about the elbe-devel mailing list