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:
parent
e0211f4574
commit
dd88ead843
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user