SONARPY-35 Fix parse error in list comprehension