diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2016-11-14 10:39:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-23 10:59:56 +0000 |
commit | 7bb38a3358c336b3013d39169f4bb460fb1cf8c8 (patch) | |
tree | 17d9279bf2fdd4fd9cbcd87e36d1d05a66f49aa5 /bitbake/lib/bb/data_smart.py | |
parent | d7f76363fbcaa2449a1989f49aff643f87141606 (diff) | |
download | poky-7bb38a3358c336b3013d39169f4bb460fb1cf8c8.tar.gz |
bitbake: taskdata.py: improve handling of depends/rdepends
Error handling only caught the cause where a dependency did not have
any colon, but ignored the case where more than one was given. Now
"pn:task:garbage" will raise an error instead of ignoring ":garbage".
The error message had a misplaced line break (?) with the full stop
on the next line. Indenting the explanation with a space might have
been intended and is kept.
split() was called three times instead of just once.
Instead of improving the two instances of the code (one for 'depends',
one for 'rdepends'), the common code is now in a helper function.
(Bitbake rev: 063d255fdcb3f79b2d1b0badedc80384b295a3f5)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
0 files changed, 0 insertions, 0 deletions