Mercurial > hg
changeset 42867:eab66266180e
run-tests: clarify "l" variable as "out_rawline"
More explicit variable name never hurt.
(This is a gratuitous cleanup that I made while investigating a bug).
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 14 Jun 2019 14:14:17 +0100 |
parents | 141bb77b606b |
children | 35ef1e957a62 |
files | tests/run-tests.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Fri Jun 14 13:59:47 2019 +0100 +++ b/tests/run-tests.py Fri Jun 14 14:14:17 2019 +0100 @@ -1611,10 +1611,10 @@ pos = -1 postout = [] - for l in output: - lout, lcmd = l, None - if salt in l: - lout, lcmd = l.split(salt, 1) + for out_rawline in output: + lout, lcmd = out_rawline, None + if salt in out_rawline: + lout, lcmd = out_rawline.split(salt, 1) while lout: if not lout.endswith(b'\n'):