use "in" instead of has_key (Python 3 compatibility, fixes #15), reformat code (PEP-8)
1 file changed