Fixed a style problem in python 

(space after [ and before ] in list comprehension) that would cause Linux tests fail