From fcfe64e69564c79109339bb35f0a2bcc38dab235 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 19 Oct 2021 09:27:33 -0300 Subject: [PATCH] Fixed warning message (missing where info) --- kibot/bom/units.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kibot/bom/units.py b/kibot/bom/units.py index 048237db..cefe36c2 100644 --- a/kibot/bom/units.py +++ b/kibot/bom/units.py @@ -159,7 +159,8 @@ def comp_match(component, ref_prefix, ref=None): if post: if "." in value: last_warning = W_BADVAL3 - logger.warning(W_BADVAL3 + "Malformed value: `{}` (unit split, but contains decimal point)".format(original, where)) + logger.warning(W_BADVAL3 + "Malformed value: `{}` (unit split, but contains decimal point{})". + format(original, where)) return None value = float(value) postValue = float(post) / (10 ** len(post))