run-tests: clarify "l" variable as "out_rawline"
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 14 Jun 2019 14:14:17 +0100
changeset 42867 eab66266180e
parent 42866 141bb77b606b
child 42868 35ef1e957a62
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).
tests/run-tests.py
--- 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'):