Skip to content

Commit

Permalink
add cmd[0] prefix to apt* funcs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Umit Kablan committed Oct 7, 2024
1 parent ddc8e11 commit 1292899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pleskdistup/common/src/dpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ def process_stdout(line: str) -> None:
if collect_stdout:
nonlocal stdout
stdout.append(line)
log.info(line)
log.info(f"{apt_get_cmd[0]: {line}}")

def process_stderr(line: str) -> None:
log.err(line)
log.err(f"{apt_get_cmd[0]: {line}}")
nonlocal cant_get_lock
if cant_get_lock:
return
Expand Down

0 comments on commit 1292899

Please sign in to comment.