1341c1341
< if obj2target.has_key(ext):
---
> if ext in obj2target: