west: build.py: Rename unused variable from unpacking to _
This is a common Python idiom, and it's easy to look up what the unused value is in this case if you need to. Fixes this pylint warning: scripts/west_commands/build.py:227:15: W0612: Unused variable 'origin' (unused-variable) Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
883b53101c
commit
89efaeda74
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class Build(Forceable):
|
|||
# If we created the build directory, we must run CMake.
|
||||
log.dbg('setting up build directory', level=log.VERBOSE_EXTREME)
|
||||
# The CMake Cache has not been loaded yet, so this is safe
|
||||
board, origin = self._find_board()
|
||||
board, _ = self._find_board()
|
||||
source_dir = self._find_source_dir()
|
||||
app = os.path.split(source_dir)[1]
|
||||
build_dir = find_build_dir(self.args.build_dir, board=board,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue