Skip to content

Commit 4fa2b9c

Browse files
committed
Remove unused # pylint: disable comment
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent f92e1ef commit 4fa2b9c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/frequenz/channels/_receiver.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,7 @@ def consume(self) -> MappedMessageT_co: # noqa: DOC502
373373
ReceiverStoppedError: If the receiver stopped producing messages.
374374
ReceiverError: If there is a problem with the receiver.
375375
"""
376-
return self._mapping_function(
377-
self._receiver.consume()
378-
) # pylint: disable=protected-access
376+
return self._mapping_function(self._receiver.consume())
379377

380378
def __str__(self) -> str:
381379
"""Return a string representation of the mapper."""

0 commit comments

Comments
 (0)