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