145c145
< if d.snippets.has_key(l)]
---
> if l in d.snippets]