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 output is not None:
|
||||||
if self.testcase:
|
if self.testcase:
|
||||||
self.testcase.stdout += output + '\n'
|
self.testcase.stdout += output + '\n'
|
||||||
return output
|
return
|
||||||
|
|
||||||
# Run setup-tasks, output is only kept in case of error
|
# Run setup-tasks, output is only kept in case of error
|
||||||
for taskname, taskargs in setuptasks.items():
|
for taskname, taskargs in setuptasks.items():
|
||||||
@ -494,7 +494,6 @@ class RIOTApplication():
|
|||||||
if self.testcase:
|
if self.testcase:
|
||||||
self.testcase.stdout += output + '\n'
|
self.testcase.stdout += output + '\n'
|
||||||
self._write_resultfile(name, 'success', output)
|
self._write_resultfile(name, 'success', output)
|
||||||
return output
|
|
||||||
except subprocess.CalledProcessError as err:
|
except subprocess.CalledProcessError as err:
|
||||||
self._make_handle_error(name, err)
|
self._make_handle_error(name, err)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user