UBUNTU: [Packaging] update annotations scripts

BugLink: https://bugs.launchpad.net/bugs/1786013
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
This commit is contained in:
Stefan Bader
2025-05-19 11:20:39 +02:00
parent a7bbcbe5de
commit 91137688a1
+2 -2
View File
@@ -446,7 +446,7 @@ class Annotation(Config):
# Write out the policy (and note) line(s)
val = dict(sorted(new_val["policy"].items()))
line = f"{conf : <47} policy<{val}>"
line = f"{conf: <47} policy<{val}>"
if "note" in new_val:
val = new_val["note"]
if new_val.get("oneline", False):
@@ -455,7 +455,7 @@ class Annotation(Config):
else:
# Separate policy and note lines,
# followed by an empty line
line += f"\n{conf : <47} note<{val}>\n"
line += f"\n{conf: <47} note<{val}>\n"
elif not marker:
# Write out a marker indicating the start of annotations
# without notes