[elbe-devel] [PATCH 10/28] pylint: fstab: call baseclass.__init__() in constructor

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


pylint complains when its not done.

do it.

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

diff --git a/elbepack/fstab.py b/elbepack/fstab.py
index db887587..b8a93777 100644
--- a/elbepack/fstab.py
+++ b/elbepack/fstab.py
@@ -40,6 +40,7 @@ def get_devicelabel(xml, node):
 
 class mountpoint_dict (dict):
     def __init__(self):
+        dict.__init__(self)
         self.id_count = 0
 
     def register(self, fstabentry):
-- 
2.11.0




More information about the elbe-devel mailing list