From 30c9b7937ba340b5a8123dd3e06d0cda02ddbb0e Mon Sep 17 00:00:00 2001 From: M Starch Date: Thu, 28 Mar 2024 12:48:07 -0700 Subject: [PATCH] Fix inappropriate use of stdout. Fixes: nasa/fprime#2630 --- src/fprime/fbuild/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fprime/fbuild/settings.py b/src/fprime/fbuild/settings.py index 5de25d96..40c195a3 100644 --- a/src/fprime/fbuild/settings.py +++ b/src/fprime/fbuild/settings.py @@ -8,6 +8,7 @@ """ import configparser import os +import sys from enum import Enum from functools import partial from pathlib import Path @@ -172,7 +173,7 @@ def load(settings_file: Path, platform: str = "native", is_ut: bool = False): confparse = configparser.ConfigParser() confparse.read(settings_file) else: - print(f"[WARNING] {settings_file} does not exist") + print(f"[WARNING] {settings_file} does not exist", file=sys.stderr) settings = { "settings_file": settings_file,