The variables 'lines' is used to hold a list of output lines within a test, but also to hold an iterator through those lines. Use 'itr' for the latter, to avoid confusion.
Signed-off-by: Simon Glass <s...@chromium.org> --- tools/patman/func_test.py | 161 +++++++++++++++++++------------------- 1 file changed, 82 insertions(+), 79 deletions(-) Applied to sjg/master, thanks!