[elbe-devel] [PATCH 74/75] xmldefaults: Fix Pylint

Olivier Dion dion at linutronix.de
Mon May 25 17:43:07 CEST 2020


202:0: R0205: (useless-object-inheritance)
12:0:  W0611: (unused-import)

Signed-off-by: Olivier Dion <dion 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




More information about the elbe-devel mailing list