Skip to content

Commit

Permalink
Fix arcadia linter (#2546)
Browse files Browse the repository at this point in the history
  • Loading branch information
drbasic authored Nov 21, 2024
1 parent d47444e commit b3f0c11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloud/storage/core/tools/common/python/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _wait_process(ex):
check_exit_code=False,
timeout=60,
on_timeout=_on_wait_timeout)
except common.ExecutionTimeoutError as _:
except common.ExecutionTimeoutError:
pass


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

process = None

logger = logging.getLogger(__name__)


def sighandler(sig, frame):
if process is not None:
Expand All @@ -30,7 +32,7 @@ def _process_wait_and_check(process, check_timeout):
process.wait(timeout=check_timeout)
except subprocess.TimeoutExpired:
logger.warning(
f"wait for pid {process.pid} timed out after {timeout} seconds"
f"wait for pid {process.pid} timed out after {check_timeout} seconds"
)

bt = subprocess.getoutput(
Expand Down

0 comments on commit b3f0c11

Please sign in to comment.