aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpm/python/usrp_mpm/mpmutils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/mpmutils.py b/mpm/python/usrp_mpm/mpmutils.py
index f7e4e3be1..5da81ecfe 100644
--- a/mpm/python/usrp_mpm/mpmutils.py
+++ b/mpm/python/usrp_mpm/mpmutils.py
@@ -135,9 +135,10 @@ def assert_compat_number(
err_msg = "Minor compat number mismatch{}: {}".format(
component_str, expected_actual_str
)
- log_err(err_msg)
if fail_on_old_minor:
+ log_err(err_msg)
raise RuntimeError(err_msg)
+ log_warn(err_msg)
return
def str2bool(value):