From 2226379876fa9d125eeeb98949acc24977fedbed Mon Sep 17 00:00:00 2001 From: Nicolas Roche Date: Fri, 23 Aug 2024 15:46:50 +0200 Subject: [PATCH] Add missing key when serializing key/set qualifier to str --- src/e3/anod/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/e3/anod/__init__.py b/src/e3/anod/__init__.py index f03b9033..b4c7b3ee 100644 --- a/src/e3/anod/__init__.py +++ b/src/e3/anod/__init__.py @@ -18,12 +18,12 @@ def qualifier_dict_to_str(qual: dict) -> str: else: # Empty string is used also for tag value. Should be removed # once switch to dict is complete - tmp.append(f"{k}") + tmp.append(k) elif isinstance(v, bool): if v: tmp.append(k) elif v: - tmp.append(";".join(sorted(v))) + tmp.append(f"{k}=" + ";".join(sorted(v))) return ",".join(sorted(tmp))