Skip to content

Commit

Permalink
make codacy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefi committed Jan 9, 2024
1 parent f7f4172 commit 3a3789c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiwi/storage/loop_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 3a3789c

Please sign in to comment.