commit | fce557f0680d0a0b221a52105e894543f0a5214f | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Fri Mar 13 12:12:19 2020 +1030 |
committer | Andrew Geissler <geissonator@yahoo.com> | Wed Mar 18 22:57:10 2020 +0000 |
tree | e2b9e916ccd780a694fb905424768903d88d8419 | |
parent | 47fbfa5783953cb55f0942d9fc4a5950812d73d1 [diff] |
unit-test: Fix PEP8 E731 violation E731: do not assign a lambda expression, use a def Change-Id: Ie9bbbfbd6298bef2e1131ba1de72ed5594341c84 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/scripts/unit-test.py b/scripts/unit-test.py index 9344a83..8224fb3 100755 --- a/scripts/unit-test.py +++ b/scripts/unit-test.py
@@ -1071,7 +1071,8 @@ print arg, print else: - printline = lambda *l: None + def printline(*line): + pass CODE_SCAN_DIR = WORKSPACE + "/" + UNIT_TEST_PKG