black
This commit is contained in:
parent
62ec8e8b1b
commit
a235028f3b
3 changed files with 5 additions and 5 deletions
|
|
@ -567,7 +567,7 @@ def _tar_dir_to_with_progress(
|
|||
cols = shutil.get_terminal_size((80, 20)).columns
|
||||
msg = msg[: cols - 1]
|
||||
except Exception:
|
||||
pass # nosec
|
||||
pass # nosec
|
||||
os.write(2, ("\r" + msg).encode("utf-8", errors="replace"))
|
||||
|
||||
with tarfile.open(tar_path, mode="w:gz") as tf:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue