From f96ffb221876a8e3615d1da4e38b4706456ddcc2 Mon Sep 17 00:00:00 2001 From: Joerg Hofrichter Date: Thu, 3 Dec 2020 18:00:43 +0100 Subject: fixup! mpm: Use prefs API in logging module --- mpm/python/usrp_mpm/mpmlog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpm/python/usrp_mpm') 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): -- cgit v1.2.3