Skip to content

Commit fe4bb08

Browse files
committed
Change log messages to use logger so they arn't picked up as output from yggccflags
1 parent c2f1c86 commit fe4bb08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yggdrasil/drivers/CMakeModelDriver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,11 @@ def fix_flags(cls, flags, **kwargs):
300300
# flags = flags.replace('"', '\\"')
301301
# flags = f'"{flags}"'
302302
out = super(CMakeConfigure, cls).fix_flags(flags, **kwargs)
303-
print(f"CMakeConfigure FIX_FLAGS: {type(flags)}, {flags}, {out}")
303+
logger.info(f"CMakeConfigure FIX_FLAGS: {type(flags)}, {flags}, {out}")
304304
if ((isinstance(flags, str) and ' ' in flags
305305
and kwargs.get('context', None) == 'cmd')):
306306
out = cls.fix_path(out, actions=['doublequote'])
307-
print(f"CMakeConfigure FIX_FLAGS OUT: {out}")
307+
logger.info(f"CMakeConfigure FIX_FLAGS OUT: {out}")
308308
return out
309309

310310
@classmethod

0 commit comments

Comments
 (0)