Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
## Bug Fixes

- Fix `NopReceiver.ready()` to properly terminate when receiver is closed.

- The `__str__` representation of broadcast receivers now include the receiver's name.
2 changes: 1 addition & 1 deletion src/frequenz/channels/_broadcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def close(self) -> None:

def __str__(self) -> str:
"""Return a string representation of this receiver."""
return f"{self._channel}:{type(self).__name__}"
return f"{self._channel}:{type(self).__name__}:{self._name}"

def __repr__(self) -> str:
"""Return a string representation of this receiver."""
Expand Down
Loading