On Mon, Feb 25, 2008 at 10:49 AM, Gary Herron <<a href="mailto:gherron@islandtraining.com" target="_blank">gherron@islandtraining.com</a>> wrote:<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You expect this is creating a tuple (or so I see from your "in" test in<br>
the following code), but in fact the parenthesis do *not* make a tuple.<br>
If you look at ignored_dirs, you'll find it's just a string. It's the<br>
presence of commas that signam a tuple. You need<br>
<br>
ignored_dirs = (<br>
r".\boost\include", # It's that comma that makes this a tuple.<br>
<div><div></div><div> )</div></div></blockquote></div><br>Thanks for reminding me of this. I always forget that!<br><br>Now that it is correctly doing *only* whole string matches, what if I want to make it do a substring compare to each string in my ignored_dirs tuple? Thanks.<br>