🐛 swu: Fix a bug in log line generation

This commit is contained in:
Gina Häußge committed 2021-07-06 17:41:25 +02:00
1 parent 6618be9e84
commit 974cde5294
1 file changed
+5 -3
@@ -183,9 +183,11 @@ class SoftwareUpdatePlugin(
target_version=entry["target_version"],
success="SUCCESS" if entry["success"] else "FAILED",
text=entry["text"]
+ " (Release notes: {})".format(entry["release_notes"])
if entry["release_notes"]
else "",
+ (
" (Release notes: {})".format(entry["release_notes"])
if entry["release_notes"]
else ""
),
)
result.append(line)
return "\n".join(result)