From ed8ae423e2d295519bb0229e34af90f1ff11754e Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 15 Nov 2021 14:28:56 -0300 Subject: [PATCH] Fixed missing "where" in W_BADVAL3 --- 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))