1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/compile_and_test_for_board: fix lint

Pylint raises an error because of inconsistent return statements in the make_with_outfile function. The return value of this function is never used, so a bare return or no return is ok
This commit is contained in:
Alexandre Abadie 2021-02-21 21:34:03 +01:00
parent e0211f4574
commit dd88ead843
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -475,7 +475,7 @@ class RIOTApplication():
if output is not None:
if self.testcase:
self.testcase.stdout += output + '\n'
return output
return
# Run setup-tasks, output is only kept in case of error
for taskname, taskargs in setuptasks.items():
@ -494,7 +494,6 @@ class RIOTApplication():
if self.testcase:
self.testcase.stdout += output + '\n'
self._write_resultfile(name, 'success', output)
return output
except subprocess.CalledProcessError as err:
self._make_handle_error(name, err)