From 3a3789c9fe5089b46c1a7855185f07cced2eb495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Sat, 30 Dec 2023 18:45:58 +0100 Subject: [PATCH] make codacy happy --- kiwi/storage/loop_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwi/storage/loop_device.py b/kiwi/storage/loop_device.py index faf6b5698e8..0829fbe75ac 100644 --- a/kiwi/storage/loop_device.py +++ b/kiwi/storage/loop_device.py @@ -101,7 +101,7 @@ def create(self, overwrite: bool = True): ) self.node_name = loop_call.output.rstrip(os.linesep) - def __exit__(self, type, value, traceback): + def __exit__(self, exc_type, exc_value, exc_traceback): if self.node_name: try: Command.run(['losetup', '-d', self.node_name])