Reputation: 43
For some reason, in the below code:
for statement in statements:
speakerAndSpeech = findSpeaker(statement)
speaker = speakerAndSpeech[0]
speech = speakerAndSepech[1]
## Everything above the below line indents correctly, like this
self.statements.append(createStatement(statements.index(statement), speech, speaker, self.meeting["id"])
## Everything below the above line indents out here
if __name__ == '__main__':
I'm using python-mode.el
Upvotes: 1
Views: 102
Reputation: 4804
As already commented: caused by a missing parenthesis at last code-line in block:
...self.meeting["id"])
Maybe you want:
...self.meeting["id"]))
Upvotes: 1