Skip to content

Commit

Permalink
Merge pull request #200 from fschulze/maurits/fix-flake8
Browse files Browse the repository at this point in the history
Fixed flake8 errors: E741 ambiguous variable name 'l'
  • Loading branch information
mauritsvanrees authored Aug 19, 2020
2 parents 8acc12d + d2149b1 commit 1ff9a84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/mr/developer/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ def worker(working_copies, the_queue):
output_lock.acquire()
for lvl, msg in wc._output:
lvl(msg)
for l in sys.exc_info()[1].args[0].split('\n'):
logger.error(l)
for line in sys.exc_info()[1].args[0].split('\n'):
logger.error(line)
working_copies.errors = True
output_lock.release()
else:
Expand Down Expand Up @@ -333,8 +333,8 @@ def matches(self, source):
sys.exit(1)
return wc.matches()
except WCError:
for l in sys.exc_info()[1].args[0].split('\n'):
logger.error(l)
for line in sys.exc_info()[1].args[0].split('\n'):
logger.error(line)
sys.exit(1)

def status(self, source, **kwargs):
Expand All @@ -351,8 +351,8 @@ def status(self, source, **kwargs):
sys.exit(1)
return wc.status(**kwargs)
except WCError:
for l in sys.exc_info()[1].args[0].split('\n'):
logger.error(l)
for line in sys.exc_info()[1].args[0].split('\n'):
logger.error(line)
sys.exit(1)

def update(self, packages, **kwargs):
Expand Down

0 comments on commit 1ff9a84

Please sign in to comment.