I need to use a code written by someone else in Python a while back, and I get a SyntaxError: invalid syntax
in this line:
tfileServices = {n: s.fileName for n, s in process.services.iteritems() if s.type_() == 'TFileService'}
I am not really sure what is wrong about it, so can someone tell me why is it not working (it supposedly worked for him)? Thank you! (I am not sure what to google for to find out what is wrong, as I am not sure how the actual syntax should look like)