🐛 swu: Fix a bug in log line generation
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user