Fix Pylint errors in Python scripts
This commit is contained in:
parent
630281349e
commit
32cbcdac8f
2 changed files with 36 additions and 20 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue