[elbe-devel] [PATCH 44/75] archivedir: Fix Pylint
Torben Hohn
torben.hohn at linutronix.de
Fri May 29 13:02:37 CEST 2020
On Mon, May 25, 2020 at 11:42:37AM -0400, Olivier Dion wrote:
> 35:15: W1505: (deprecated-method)
>
> Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
> elbepack/archivedir.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/elbepack/archivedir.py b/elbepack/archivedir.py
> index 1bf4e5b4..4b9ace9a 100644
> --- a/elbepack/archivedir.py
> +++ b/elbepack/archivedir.py
> @@ -31,7 +31,8 @@ def enbase(fname, compress=True):
> s = infile.read()
> if compress:
> s = bz2.compress(s)
> -
> + # TODO:py3 - Use base64.encodebytes
> + # pylint: disable=deprecated-method
> return encodestring(s)
>
> def collect(tararchive, path, keep):
> --
> 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