python-utils-r1.eclass: Fix early return in _python_impl_matches
authorMichał Górny <mgorny@gentoo.org>
Sun, 24 Nov 2019 14:31:41 +0000 (15:31 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 24 Nov 2019 15:09:13 +0000 (16:09 +0100)
commit6f149afdec7db691ab9f3d6c5fa0e4467295ebfa
tree9a1926a21702ec001f5913ed300bdab1bcd35217
parentf466dc2742027264a5c3c188b248ad3507785179
python-utils-r1.eclass: Fix early return in _python_impl_matches

Fix _python_impl_matches() not to return early on unsuccessful -2/-3
match.  This caused constructs such as '$(python_gen_cond_dep ... -2
python3_{5,6,7})' to ignore arguments following '-2'.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/python-utils-r1.eclass