Migrated issue, originally created by Anonymous
How-To-Reproduce:
% if True:
test
% elif lose:
## do nothing
% elif False:
broken
% endif
Results:
An IndentationError pointing at the next line of code after the do-nothing block, complaining that Python was expecting an indented block.
Workaround:
Add <%pass%> to the do-nothing block
Attachments: 146.patch | 146.2.patch | 146.3.patch