Skip to content

Commit

Permalink
[raspunzel] Only warn about arch in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed Aug 21, 2023
1 parent e1f663a commit cb43f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/raspunzel
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def log_run(target_name: str, arch: str) -> None:
YELLOW: str = "\033[33m"
RESET: str = "\033[0m"

target_message = f"Found target {YELLOW}{target_name}{RESET}"
target_message = f"Found target {YELLOW}{target_name}{RESET} "
target_message += "for build configuration "
color = RED
if "opt" in arch:
Expand Down Expand Up @@ -164,7 +164,7 @@ def run(workspace: Workspace, target: str, subargs: List[str]) -> None:
try:
arch = read_arch(workspace.bazel_bin, target_dir, target_name)
except FileNotFoundError:
logging.warning(
logging.info(
"Couldn't read arch from "
f"'{workspace.bazel_bin}/{target_dir}/{target_name}-2.params', "
"maybe the target is not a Python script?"
Expand Down

0 comments on commit cb43f99

Please sign in to comment.