[elbe-devel] [PATCH 03/10] elbepack: updatepkg: drop unnecessary constructors

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


The explicit constructors do the same as the implicit ones.

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

diff --git a/elbepack/updatepkg.py b/elbepack/updatepkg.py
index 182ff67613a5..2295ee9a5027 100644
--- a/elbepack/updatepkg.py
+++ b/elbepack/updatepkg.py
@@ -14,8 +14,7 @@ from elbepack.ziparchives import create_zip_archive
 
 
 class MissingData(Exception):
-    def __init__(self, message):
-        Exception.__init__(self, message)
+    pass
 
 
 def inlucdedir(destination, directory, source, mode=None):

-- 
2.44.0



More information about the elbe-devel mailing list