From b3fe573113d389e32fd687a5b081bbfcf477a724 Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Thu, 13 Aug 2020 11:32:08 +0200 Subject: [PATCH] added missing f to f-string --- inventory_provider/tasks/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory_provider/tasks/data.py b/inventory_provider/tasks/data.py index 15527bdb..4c8cd82c 100644 --- a/inventory_provider/tasks/data.py +++ b/inventory_provider/tasks/data.py @@ -20,7 +20,7 @@ def build_service_interface_user_list(config): k = k.decode('utf-8') m = re.match('^netconf-interfaces:([^:]+):(.+)$', k) if not m: - logger.error('invalid redis key: "{k}"') + logger.error(f'unexpected redis key: "{k}"') continue # skip, rather than fail the entire update router_name = m.group(1) ifc_name = m.group(2) -- GitLab