[elbe-devel] [PATCH 74/75] xmldefaults: Fix Pylint
Torben Hohn
torben.hohn at linutronix.de
Fri May 29 17:05:02 CEST 2020
On Mon, May 25, 2020 at 11:43:07AM -0400, Olivier Dion wrote:
> 202:0: R0205: (useless-object-inheritance)
> 12:0: W0611: (unused-import)
>
> Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
> elbepack/xmldefaults.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
> index b0a37019..05fbe5b5 100644
> --- a/elbepack/xmldefaults.py
> +++ b/elbepack/xmldefaults.py
> @@ -9,7 +9,6 @@
> from __future__ import print_function
>
> import random
> -import sys
>
> from elbepack.kvm import find_kvm_exe
>
> @@ -198,7 +197,8 @@ def get_random_mac():
>
> return ':'.join(s)
>
> -
> +# TODO:py3 Remove object inheritance
> +# pylint: disable=useless-object-inheritance
> class ElbeDefaults(object):
>
> def __init__(self, build_type):
> --
> 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