Skip to content

Commit

Permalink
messages: Fix missing whitespace in message
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Verga <[email protected]>
(cherry picked from commit 1015dbf)
  • Loading branch information
mattiaverga committed Jul 30, 2023
1 parent 5ee9043 commit e079809
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bodhi-messages/bodhi/messages/schemas/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def __str__(self) -> str:
"""
new_line = "\n"
return (
f"{self.update.user.name}'s Bodhi update {self.update.alias}"
f"{self.update.user.name}'s Bodhi update {self.update.alias} "
f"completed push to {self.update.status}\n"
f"Builds:\n"
f"{new_line.join([b.nvr for b in self.update.builds])} ")
Expand Down
2 changes: 1 addition & 1 deletion bodhi-messages/tests/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test_complete_testing_v1(self):
"completed push to testing"
),
"__str__": (
"eclipseo's Bodhi update FEDORA-2019-d64d0caab3completed push to testing"
"eclipseo's Bodhi update FEDORA-2019-d64d0caab3 completed push to testing"
"\nBuilds:\ngolang-github-SAP-go-hdb-0.14.1-1.fc29\ntexworks-0.6.3-1.fc29 "
),
"app_icon": "https://apps.fedoraproject.org/img/icons/bodhi.png",
Expand Down
1 change: 1 addition & 0 deletions news/5416.bug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed missing whitespace in "bodhi update completed push to testing"

0 comments on commit e079809

Please sign in to comment.