Possible Duplicate:
Attribution etiquette in code — do you cite helpful question URLS in code?
If someone answers a question with some code, what's the etiquette for including it (and its technique) in closed source software?
Do you add a comment with a link to the SO question or do you just take the advice and implement the code without any attribution?
Boaz Yaniv really helped me out of a jam with this answer:
Python: override __str__ in an exception instance
...and I want to make sure that my team doesn't think I'm the smart one based on Boaz's inspiration.
Any advice?