Exercise submission is very pedantic about indentation
Bug #575765 reported by
David Coles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IVLE |
Fix Released
|
Medium
|
David Coles |
Bug Description
In worksheets, any whitespace after code can trigger an IndentationError during submit that will not cause an issue when the code run in the console (making it hard to work out why it happens).
For example (using underscores to make spaces more clear):
def x()
____return 3
print x()
____
Related branches
Changed in ivle: | |
status: | Triaged → Fix Committed |
Changed in ivle: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Calling str.strip may be enough to solve this issue.