Using <TAB> in $code blocks causes IndentationError
Bug #539805 reported by
Daniel Hahler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
New
|
Undecided
|
Unassigned |
Bug Description
When using <TAB> to indent a $code block, webpy throws an IndentationError.
I'm attaching a file to reproduce this: start bug.py and request localhost:8080 in your webbrowser.
It should throw the following exception:
<type 'exceptions.
unexpected indent Template traceback: File '<template>', line 7 None (<template>, line 7)
When changing the TAB in line 7 (which is actually line 11 in the file) to be indented using space (1 or 4 does not matter), it gets parsed as expected.
I'm using Git HEAD.
To post a comment you must log in.