Fix missing has_key in python3
Merge pull request #69 from viktorkrivak/master

Fix missing has_key in python3