<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 8 February 2016 at 20:34, Andre McCurdy <span dir="ltr">&lt;<a href="mailto:armccurdy@gmail.com" target="_blank">armccurdy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2q2" class="a3s" style="overflow:hidden"> &#39;&#39; if incompatible_license_contains(&#39;GPLv3&#39;, &#39;x&#39;, &#39;&#39;, d) == &#39;x&#39; or bb.utils.contains(&#39;DISTRO_FEATURES&#39;, &#39;x11&#39;, &#39;x&#39;, &#39;&#39;, d) == &#39;&#39; else &#39;gnome&#39; } \</div></blockquote></div><br>Instead of returning &#39;x&#39; or &#39;&#39; and then doing string comparisons, why not just return True or False and let if/or/else do the right thing?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>