[elbe-devel] [PATCH 06/75] commands sign: Fix Pylint

Torben Hohn torben.hohn at linutronix.de
Fri May 29 10:45:37 CEST 2020


On Mon, May 25, 2020 at 11:41:59AM -0400, Olivier Dion wrote:
> 13:4: R1705: (no-else-return)
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/commands/sign.py | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/elbepack/commands/sign.py b/elbepack/commands/sign.py
> index 744b51ef..94a5b88d 100644
> --- a/elbepack/commands/sign.py
> +++ b/elbepack/commands/sign.py
> @@ -15,5 +15,4 @@ def run_command(argv):
>          print("Please pass the name of the file to sign "
>                "and a valid gnupg fingerprint.")
>          return
> -    else:
> -        sign_file(argv[0], argv[1])
> +    sign_file(argv[0], argv[1])
> -- 
> 2.26.2
> 
> 
> _______________________________________________
> 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