fix pep8 E741 ambiguous variable name 'l'

This commit is contained in:
Hans-Christoph Steiner 2020-05-14 11:54:32 +02:00
parent 1106795583
commit df563d339a
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
3 changed files with 14 additions and 14 deletions

View file

@ -36,11 +36,11 @@ def devices():
p = SdkToolsPopen(['adb', "devices"])
if p.returncode != 0:
raise FDroidException("An error occured when finding devices: %s" % p.output)
lines = [l for l in p.output.splitlines() if not l.startswith('* ')]
lines = [line for line in p.output.splitlines() if not line.startswith('* ')]
if len(lines) < 3:
return []
lines = lines[1:-1]
return [l.split()[0] for l in lines]
return [line.split()[0] for line in lines]
def main():