aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm
diff options
context:
space:
mode:
authorJoerg Hofrichter <joerg.hofrichter@ni.com>2020-12-03 18:00:43 +0100
committermichael-west <michael.west@ettus.com>2020-12-04 12:07:16 -0800
commitf96ffb221876a8e3615d1da4e38b4706456ddcc2 (patch)
tree2fb90656d613cb7886126f5e40fb80b5e01eb3c1 /mpm/python/usrp_mpm
parentfc2fc14b1ad796c94532315bfc09a1e8d030f7c5 (diff)
downloaduhd-f96ffb221876a8e3615d1da4e38b4706456ddcc2.tar.gz
uhd-f96ffb221876a8e3615d1da4e38b4706456ddcc2.tar.bz2
uhd-f96ffb221876a8e3615d1da4e38b4706456ddcc2.zip
fixup! mpm: Use prefs API in logging module
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r--mpm/python/usrp_mpm/mpmlog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/mpmlog.py b/mpm/python/usrp_mpm/mpmlog.py
index 02ea305ca..03917c942 100644
--- a/mpm/python/usrp_mpm/mpmlog.py
+++ b/mpm/python/usrp_mpm/mpmlog.py
@@ -162,8 +162,8 @@ def get_main_logger(
LOGGER.cpp_log_buf.set_notify_callback(log_from_cpp)
# Flush errors stuck in the prefs module:
log = LOGGER.getChild('prefs')
- for err_key, err_msg in mpm_prefs.get_log_errors():
- log.error('%s: %s', err_key, err_msg)
+ for err_msg in mpm_prefs.get_log_errors():
+ log.error(err_msg)
return LOGGER
def get_logger(child_name):