dict comprenhension is not supported in python 2.6