[elbe-devel] [PATCH v3 41/52] Fix style for "packers.py"

Torben Hohn torben.hohn at linutronix.de
Fri Jul 5 13:29:01 CEST 2019


On Thu, Jun 27, 2019 at 02:44:55PM +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/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
> 
> 
> _______________________________________________
> 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