Skip to content

Commit

Permalink
Add missing key when serializing key/set qualifier to str
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikokrock committed Aug 23, 2024
1 parent 8a841e5 commit 2226379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/e3/anod/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 2226379

Please sign in to comment.