Missed parentheses from except clause, has a whole different meaning.
This commit is contained in:
parent
d39cdd7aad
commit
e1ceab6ed6
@ -265,7 +265,7 @@ def parse_text(txt):
|
||||
type, text, start, end, line = tokens.next()
|
||||
except StopIteration:
|
||||
break
|
||||
except TokenError, IndentationError:
|
||||
except (TokenError, IndentationError):
|
||||
incomplete = True
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user