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()
|
||||
except StopIteration:
|
||||
break
|
||||
except TokenError, IndentationError:
|
||||
except (TokenError, IndentationError):
|
||||
incomplete = True
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user