Skip to content

Commit 1ff9a84

Browse files
Merge pull request #200 from fschulze/maurits/fix-flake8
Fixed flake8 errors: E741 ambiguous variable name 'l'
2 parents 8acc12d + d2149b1 commit 1ff9a84

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/mr/developer/common.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ def worker(working_copies, the_queue):
172172
output_lock.acquire()
173173
for lvl, msg in wc._output:
174174
lvl(msg)
175-
for l in sys.exc_info()[1].args[0].split('\n'):
176-
logger.error(l)
175+
for line in sys.exc_info()[1].args[0].split('\n'):
176+
logger.error(line)
177177
working_copies.errors = True
178178
output_lock.release()
179179
else:
@@ -333,8 +333,8 @@ def matches(self, source):
333333
sys.exit(1)
334334
return wc.matches()
335335
except WCError:
336-
for l in sys.exc_info()[1].args[0].split('\n'):
337-
logger.error(l)
336+
for line in sys.exc_info()[1].args[0].split('\n'):
337+
logger.error(line)
338338
sys.exit(1)
339339

340340
def status(self, source, **kwargs):
@@ -351,8 +351,8 @@ def status(self, source, **kwargs):
351351
sys.exit(1)
352352
return wc.status(**kwargs)
353353
except WCError:
354-
for l in sys.exc_info()[1].args[0].split('\n'):
355-
logger.error(l)
354+
for line in sys.exc_info()[1].args[0].split('\n'):
355+
logger.error(line)
356356
sys.exit(1)
357357

358358
def update(self, packages, **kwargs):

0 commit comments

Comments
 (0)