Modified dict comprehension
Modified dict comprehension

Using dict([(k,v)...]) is python 2.6 compatible while { k, v for ...} is
not.
Fixed for python 2.6 compatibility as it's default in our workstations

scr4t/cernsso,sashabaranov/cernsso