<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"><<a href="mailto:ed.bartosh@linux.intel.com" target="_blank">ed.bartosh@linux.intel.com</a>></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 ":" in target:<br>
+ if ":do_" not in target:<br>
+ target = "%s:do_%s" % tuple(target.split(":"))</div></blockquote></div><br>I know it's an unlikely and theoretical case, but just in case the user asks to build foo:: or something, we wouldn't want to explode horribly with a traceback. It's best to do target.split(":", 1) here, so you know we'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>