fix fast_parser problems with asserts

This commit is contained in:
David Halter committed 2012-12-15 21:27:09 +01:00
1 parent 2b579eb09b
commit 3aae532374
3 files changed
+12 -5

No files matched your search

+1
View File
@@ -77,6 +77,7 @@ class NoErrorTokenizer(object):
# We just ignore this error, I try to handle it earlier - as
# good as possible
debug.warning('parentheses not closed error')
return self.__next__()
except IndentationError:
# This is an error, that tokenize may produce, because the code
# is not indented as it should. Here it just ignores this line