On 8 February 2016 at 20:34, Andre McCurdy <armccu...@gmail.com> wrote:

> '' if incompatible_license_contains('GPLv3', 'x', '', d) == 'x' or
> bb.utils.contains('DISTRO_FEATURES', 'x11', 'x', '', d) == '' else 'gnome'
> } \
>

Instead of returning 'x' or '' and then doing string comparisons, why not
just return True or False and let if/or/else do the right thing?

Ross
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to