Replacing dict comprehensions for python 2.6 support
Merge pull request #7 from Sapphire64/py26fix

Replacing dict comprehensions for python 2.6 support