#531 correction 

correct list comprehension for older versions of python (back to python 2.4)