Skip to content

Commit

Permalink
Fix grub.py to make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sandakov committed Sep 26, 2024
1 parent 678d8b7 commit 23d5550
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions pleskdistup/actions/grub.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

DEBCONF_CMD = "/usr/bin/debconf-show"


class AssertGrubInstallDeviceExists(action.CheckAction):
def __init__(self) -> None:
self.name = "check GRUB installation device exists"
Expand Down
1 change: 0 additions & 1 deletion pleskdistup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ def try_lock(lock_file: PathType) -> typing.Generator[bool, None, None]:
except Exception as ex:
log.warn(f"Failed to remove lockfile {lock_file!r}: {ex}")


def exit_signal_handler(signum, frame):
# exit will trigger blocks finalization, so lockfile will be removed
log.info(f"Received signal {signum}, going to exit...")
Expand Down

0 comments on commit 23d5550

Please sign in to comment.