Skip to content

Commit c15253c

Browse files
authored
Fix inappropriate use of stdout. Fixes: nasa/fprime#2630 (#198)
1 parent b1c4815 commit c15253c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fprime/fbuild/settings.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"""
99
import configparser
1010
import os
11+
import sys
1112
from enum import Enum
1213
from functools import partial
1314
from pathlib import Path
@@ -172,7 +173,7 @@ def load(settings_file: Path, platform: str = "native", is_ut: bool = False):
172173
confparse = configparser.ConfigParser()
173174
confparse.read(settings_file)
174175
else:
175-
print(f"[WARNING] {settings_file} does not exist")
176+
print(f"[WARNING] {settings_file} does not exist", file=sys.stderr)
176177

177178
settings = {
178179
"settings_file": settings_file,

0 commit comments

Comments
 (0)