[elbe-devel] [PATCH 20/28] pylint: parselicence: call baseclass dict.__init__() in constructor

Torben Hohn torben.hohn at linutronix.de
Wed Aug 22 11:29:14 CEST 2018


pylint complains about missing call to baseclass __init__()

make it happy

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/commands/parselicence.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elbepack/commands/parselicence.py b/elbepack/commands/parselicence.py
index 89029c6a..372af83c 100644
--- a/elbepack/commands/parselicence.py
+++ b/elbepack/commands/parselicence.py
@@ -21,6 +21,8 @@ from elbepack.shellhelper import system_out
 
 class license_dep5_to_spdx (dict):
     def __init__(self, xml_fname=None):
+        dict.__init__(self)
+
         self.perpackage_mapping = {}
         self.perpackage_override = {}
         if xml_fname is None:
-- 
2.11.0




More information about the elbe-devel mailing list