Skip to content

Commit

Permalink
Indent debug log for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Feb 23, 2024
1 parent d1192df commit 839d492
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pip_deepfreeze/pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os
import shlex
import sys
import textwrap
from enum import Enum
from functools import lru_cache
from importlib.resources import path as resource_path
Expand Down Expand Up @@ -186,7 +187,7 @@ def pip_upgrade_project(
).strip()
if constraints:
log_debug(f"with {constraints_without_editables_filename}:")
log_debug(constraints)
log_debug(textwrap.indent(constraints, prefix=" "))
else:
log_debug(f"with empty {constraints_without_editables_filename}.")
check_call(cmd, env=dict(os.environ, **env))
Expand Down

0 comments on commit 839d492

Please sign in to comment.