[elbe-devel] [PATCH 69/75] pbuilder: Fix Pylint

Torben Hohn torben.hohn at linutronix.de
Fri May 29 17:03:13 CEST 2020


On Mon, May 25, 2020 at 11:43:02AM -0400, Olivier Dion wrote:
> 133:0: R1710: (inconsistent-return-statements)
> 
> Note.  Returned argument is never used by callers.  This could be removed.
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

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

> ---
>  elbepack/pbuilder.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/elbepack/pbuilder.py b/elbepack/pbuilder.py
> index e6f0b3cf..6f266a93 100644
> --- a/elbepack/pbuilder.py
> +++ b/elbepack/pbuilder.py
> @@ -185,3 +185,5 @@ def pbuilder_write_repo_hook(builddir, xml, cross):
>  
>      fp.write(mirror)
>      fp.close()
> +
> +    return ""
> -- 
> 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