aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/mpmutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/mpmutils.py')
-rw-r--r--mpm/python/usrp_mpm/mpmutils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpm/python/usrp_mpm/mpmutils.py b/mpm/python/usrp_mpm/mpmutils.py
index 49d6cb39d..08eb54798 100644
--- a/mpm/python/usrp_mpm/mpmutils.py
+++ b/mpm/python/usrp_mpm/mpmutils.py
@@ -140,3 +140,5 @@ def assert_compat_number(
raise RuntimeError(err_msg)
return
+def str2bool(value):
+ return value.lower() in ("yes", "true", "t", "1")