[elbe-devel] [PATCH 04/10] elbepack: treeutils: drop unnecessary constructors

Thomas Weißschuh thomas.weissschuh at linutronix.de
Mon Apr 22 18:37:25 CEST 2024


The explicit constructors do the same as the implicit ones.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/treeutils.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/elbepack/treeutils.py b/elbepack/treeutils.py
index 6d384ca5482c..7528d4a8112f 100644
--- a/elbepack/treeutils.py
+++ b/elbepack/treeutils.py
@@ -75,8 +75,6 @@ class ebase:
 
 
 class elem(ebase):
-    def __init__(self, el):
-        ebase.__init__(self, el)
 
     def ensure_child(self, tag):
         retval = self.et.find('./' + tag)

-- 
2.44.0



More information about the elbe-devel mailing list