]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/package_manager: fix handling of last package
authorJan Luebbe <jlu@pengutronix.de>
Wed, 1 Apr 2020 14:58:02 +0000 (16:58 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Apr 2020 22:18:09 +0000 (23:18 +0100)
commita7b93c695b23d015607b179d98526b9b14c03d45
tree818fe005e323d7248d87a3c5edd69dde27785480
parent9605a488b55042add012e9aeef13ab3f4e70e6e5
lib/oe/package_manager: fix handling of last package

In commit 7d214b34e11dc57316ed5c1c7747c4601286f6d2, only the code in the
for loop was modified to store the pkgarch value. The code used if there
was no empty line at the end was not modified.

Instead of fixing the duplicated code, remove it and just make sure that
a final empty line is processed.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py