diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-09-30 00:01:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-02 11:40:53 +0100 |
commit | e7ba10c1de29277113ad47e9c3686823aa43e845 (patch) | |
tree | 4bbe85877ff73cfc483da7379049a06867153ddb /meta/recipes-rt | |
parent | 5fdbda6922327d963d4fe1c597fed8f0dfd20ed1 (diff) | |
download | poky-e7ba10c1de29277113ad47e9c3686823aa43e845.tar.gz |
bitbake: utils.py: Check for duplicate dependency entries
explode_dep_versions is not able to have duplicate entries. Previously
duplicate entries ended up with the last item being the one returned to
the caller.
We now detect a collision. We do allow an empty item to have a comparison
added to it, or a duplicate with the same comparison without error.
When a collision is detected a ValueError exception is thrown.
Allowed:
foo foo (= 1.12) foo
Invalid:
foo (= 1.12) foo (= 1.13)
(Bitbake rev: d40448f0483a2959e9dcaac9b6dd35839f396a6e)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt')
0 files changed, 0 insertions, 0 deletions