all: Fix cases of Python variable assigned but never used.

This fixes ruff rule F841.
This commit is contained in:
Christian Clauss
2023-03-10 07:33:32 +01:00
committed by Damien George
parent 79e57473b2
commit 2a1db770ce
11 changed files with 10 additions and 17 deletions

View File

@@ -109,7 +109,7 @@ def reset_board(args):
finally:
try:
tn.close()
except Exception as e:
except Exception:
pass
return success
@@ -167,7 +167,7 @@ def verify_update(args):
finally:
try:
tn.close()
except Exception as e:
except Exception:
pass
return success