[elbe-devel] [PATCH 09/10] elbepack: efilesystem: drop unnecessary constructors

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


The explicit constructors do the same as the implicit ones.

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

diff --git a/elbepack/efilesystem.py b/elbepack/efilesystem.py
index a71c368e475f..e7a6c10506be 100644
--- a/elbepack/efilesystem.py
+++ b/elbepack/efilesystem.py
@@ -158,8 +158,6 @@ def extract_target(src, xml, dst, cache):
 
 
 class ElbeFilesystem(Filesystem):
-    def __init__(self, path, clean=False):
-        Filesystem.__init__(self, path, clean)
 
     def dump_elbeversion(self, xml):
         f = self.open('etc/elbe_version', 'w+')
@@ -484,5 +482,4 @@ class TargetFs(ChRootFilesystem):
 
 
 class BuildImgFs(ChRootFilesystem):
-    def __init__(self, path, interpreter):
-        ChRootFilesystem.__init__(self, path, interpreter)
+    pass

-- 
2.44.0



More information about the elbe-devel mailing list