From fe99dab664d8fb5cddb596487f80bd2edc48c61d Mon Sep 17 00:00:00 2001 From: Milan Stute Date: Wed, 2 Dec 2020 15:56:32 +0100 Subject: [PATCH] Unused variables --- opendrop/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opendrop/client.py b/opendrop/client.py index 28adda7..0e182c4 100644 --- a/opendrop/client.py +++ b/opendrop/client.py @@ -138,7 +138,7 @@ class AirDropClient: discover_plist_binary = plistlib.dumps( discover_body, fmt=plistlib.FMT_BINARY # pylint: disable=no-member ) - success, response_bytes = self.send_POST("/Discover", discover_plist_binary) + _, response_bytes = self.send_POST("/Discover", discover_plist_binary) response = plistlib.loads(response_bytes) # if name is returned, then receiver is discoverable @@ -291,7 +291,7 @@ class HTTPSConnectionAWDL(HTTPSConnection): host, port = address err = None for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM): - af, socktype, proto, canonname, sa = res + af, socktype, proto, _, sa = res sock = None try: sock = socket.socket(af, socktype, proto)