Skip to content

Commit

Permalink
op-mode: T6537: remove unused cmd imported from vyos.utils.process
Browse files Browse the repository at this point in the history
Commit dc60fe9 ("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)

(cherry picked from commit 6b2e45c)
  • Loading branch information
c-po authored and mergify[bot] committed Jul 6, 2024
1 parent 97da30a commit 8b06701
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/op_mode/powerctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

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

Expand Down

0 comments on commit 8b06701

Please sign in to comment.