Skip to content

Commit 6d94eee

Browse files
committed
fix pylint
1 parent f507a87 commit 6d94eee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ def _get_connect_socket(self, host, port, *, timeout=1):
287287
if sock is None:
288288
if last_exception:
289289
raise RuntimeError("Repeated socket failures") from last_exception
290-
else:
291-
raise RuntimeError("Repeated socket failures")
290+
291+
raise RuntimeError("Repeated socket failures")
292292

293293
self._backwards_compatible_sock = not hasattr(sock, "recv_into")
294294
return sock

0 commit comments

Comments
 (0)