profile['profile_picture_raw_path'],
on a line by itself is parsed as a standalone expression (a rather useless one, though).
You need to tell the Python interpreter that the next lines are part of the expression:
profile['profile_picture_raw_path'], \
profile['profile_picture_thumbnail'], \
profile['profile_picture'] = self.picture_path(profile['profile_picture'])