summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-05 09:01:49 +0200
committerChristian Breunig <christian@breunig.cc>2024-07-05 09:02:57 +0200
commit6b2e45c073eeef62bbb5905e1bff98e20199b6b0 (patch)
tree88363dad453b4506609eb42208bea8984c98b47f /src/op_mode
parent9cddfd9fde5504cd5e42ed75560f21619aca646b (diff)
downloadvyos-1x-6b2e45c073eeef62bbb5905e1bff98e20199b6b0.tar.gz
vyos-1x-6b2e45c073eeef62bbb5905e1bff98e20199b6b0.zip
op-mode: T6537: remove unused cmd imported from vyos.utils.process
Commit dc60fe99350 ("op-mode: T6537: include hostname in the reboot/shutdown warning message") added a more local import of vyos.utils.process.cmd() that made the fglobal import obsolete and trigger a linter warning. $ make unused-imports -------------------------------------------------------------------- Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/powerctrl.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/op_mode/powerctrl.py b/src/op_mode/powerctrl.py
index fb6b54776..c32a2be7d 100755
--- a/src/op_mode/powerctrl.py
+++ b/src/op_mode/powerctrl.py
@@ -24,7 +24,6 @@ from time import time
from vyos.utils.io import ask_yes_no
from vyos.utils.process import call
-from vyos.utils.process import cmd
from vyos.utils.process import run
from vyos.utils.process import STDOUT