Missed parentheses from except clause, has a whole different meaning.

This commit is contained in:
2008-08-18 14:16:34 +00:00
parent d39cdd7aad
commit e1ceab6ed6

View File

@@ -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