Add pylint CodeStyle extension (#53147)
This commit is contained in:
parent
c35b5a1c64
commit
f6b162bc39
60 changed files with 103 additions and 98 deletions
|
@ -56,7 +56,7 @@ async def device_scan(identifier, loop, cache=None):
|
|||
if matches:
|
||||
return cache, matches[0]
|
||||
|
||||
for hosts in [_host_filter(), None]:
|
||||
for hosts in (_host_filter(), None):
|
||||
scan_result = await scan(loop, timeout=3, hosts=hosts)
|
||||
matches = [atv for atv in scan_result if _filter_device(atv)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue