<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 3:19 PM, Chris Larson <span dir="ltr">&lt;<a href="mailto:clarson@kergoth.com" target="_blank">clarson@kergoth.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 class="im">On Wed, Nov 28, 2012 at 1:26 PM, Richard Purdie <span dir="ltr">&lt;<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>&gt;</span> wrote:<br>

<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>-        bb.utils.remove(mask)<br>
-<br>
+        # Preserve sigdata files in the stamps directory<br>
+        for name in glob.glob(mask):<br>
+            if name.find(&quot;sigdata&quot;) != -1:</div></blockquote></div><br></div>if &#39;sigdata&#39; not in name:</blockquote></div><br>Erm, s/not in/in/. You get the idea. Use of &#39;find&#39; only really makes sense if you need the locations within the string.<br>

-- <br>Christopher Larson<br>
</div>