Fix two LGTM issues

This commit is contained in:
Milan Stute
2019-12-17 20:24:53 +01:00
parent bc724b30d5
commit 66b6195bff
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -125,7 +125,6 @@ class AirDropCli:
except KeyError:
# TODO in some cases, `flags` are not set in service info; for now we'll try anyway
flags = AirDropReceiverFlags.SUPPORTS_DISCOVER_MAYBE
pass
if flags & AirDropReceiverFlags.SUPPORTS_DISCOVER_MAYBE:
try:
-1
View File
@@ -273,7 +273,6 @@ class HTTPSConnectionAWDL(HTTPSConnection):
sock.bind(source_address)
sock.connect(sa)
# Break explicitly a reference cycle
err = None
return sock
except socket.error as _: