1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-22 14:40:58 +03:00

Fix Pylint errors in Python scripts

This commit is contained in:
Mohammad Azim Khan
2018-07-06 00:29:09 +01:00
parent 630281349e
commit 32cbcdac8f
2 changed files with 36 additions and 20 deletions

View File

@ -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):