[elbe-devel] [PATCH v2 56/66] changelogxml: Fix Pylint
Olivier Dion
dion at linutronix.de
Fri Jun 5 19:07:20 CEST 2020
15:0: R0205: (useless-object-inheritance)
Signed-off-by: Olivier Dion <dion at linutronix.de>
Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/changelogxml.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/elbepack/changelogxml.py b/elbepack/changelogxml.py
index d747f25f..131a2d23 100644
--- a/elbepack/changelogxml.py
+++ b/elbepack/changelogxml.py
@@ -11,7 +11,8 @@ from elbepack.treeutils import etree
remove_re = re.compile(u'[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F]')
-
+# TODO:py3 Remove object inheritance
+# pylint: disable=useless-object-inheritance
class changelogs_xml(object):
def __init__(self):
self.outxml = etree(None)
--
2.27.0
More information about the elbe-devel
mailing list