Skip to content

Commit 261b208

Browse files
committed
Fix pre-commit errors
1 parent c06f23b commit 261b208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/reboot_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ def reboot_module(module_name):
7676
except NotImplementedError:
7777
log_err("Reboot not implemented for module {module_name}.")
7878
return False
79-
except Exception as e:
79+
except Exception as e: # noqa: F841
8080
log_err("An error occurred while rebooting module {module_name}: {e}")
8181
return False
8282

8383
# If the module with the given name is not found
8484
log_err("Module {module_name} not found")
8585
return False
8686

87-
except Exception as e:
87+
except Exception as e: # noqa: F841
8888
log_err("Error occurred while rebooting module {module_name}: {repr(e)}")
8989
return False
9090

0 commit comments

Comments
 (0)