dict comprehension is not supported in python 2.6

dict comprehension is not supported in python 2.6