diff options
author | Mohammad Azim Khan <Azim.Khan@arm.com> | 2018-07-06 00:29:09 +0100 |
---|---|---|
committer | Mohammad Azim Khan <Azim.Khan@arm.com> | 2018-08-06 11:42:56 +0100 |
commit | 32cbcdac8fecf4709908372779a8f0fa160e6990 (patch) | |
tree | a76e4c9c37d629165d4775ab6912cc73447bb0cb /tests/scripts/mbedtls_test.py | |
parent | 630281349e8b693cc0cc1bf96ae80c9e2a5296cd (diff) | |
download | mbedtls-32cbcdac8fecf4709908372779a8f0fa160e6990.zip mbedtls-32cbcdac8fecf4709908372779a8f0fa160e6990.tar.gz mbedtls-32cbcdac8fecf4709908372779a8f0fa160e6990.tar.bz2 |
Fix Pylint errors in Python scripts
Diffstat (limited to 'tests/scripts/mbedtls_test.py')
-rwxr-xr-x | tests/scripts/mbedtls_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/mbedtls_test.py b/tests/scripts/mbedtls_test.py index 5570310..8e8a89b 100755 --- a/tests/scripts/mbedtls_test.py +++ b/tests/scripts/mbedtls_test.py @@ -80,7 +80,7 @@ class TestDataParser(object): out = re.sub(r'(\\.)|' + split_char, lambda m: m.group(1) or '\n', inp_str, len(inp_str)).split('\n') - out = filter(lambda x: x or False, out) + out = [x for x in out if x] return out def __parse(self, data_f): |