Fix rc pylint warning in MQTT (#118050)

This commit is contained in:
Franck Nijhof 2024-05-24 18:41:46 +02:00 committed by GitHub
parent 3f7e57dde2
commit 8128449879
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -548,7 +548,7 @@ class MQTT:
# Remove this once
# https://github.com/eclipse/paho.mqtt.python/pull/843
# is available.
sock = sock._socket # noqa: SLF001
sock = sock._socket # pylint: disable=protected-access
new_buffer_size = PREFERRED_BUFFER_SIZE
while True: