<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 14, 2015 at 1:41 AM, Ed Bartosh <span dir="ltr">&lt;<a href="mailto:ed.bartosh@linux.intel.com" target="_blank">ed.bartosh@linux.intel.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=":vo" class="a3s" style="overflow:hidden">+        for target in fulltargetlist:<br>
+            if &quot;:&quot; in target:<br>
+                if &quot;:do_&quot; not in target:<br>
+                    target = &quot;%s:do_%s&quot; % tuple(target.split(&quot;:&quot;))</div></blockquote></div><br>I know it&#39;s an unlikely and theoretical case, but just in case the user asks to build foo:: or something, we wouldn&#39;t want to explode horribly with a traceback. It&#39;s best to do target.split(&quot;:&quot;, 1) here, so you know we&#39;ll get 2 values for the format strings, no more.</div><div class="gmail_extra">-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>