Skip to content

Commit 4cff604

Browse files
committed
Remove redundant assignments in mainLoop
test_parser.py still reports the same number of fails (9) http://code.google.com/p/html5lib/issues/detail?id=177
1 parent 31053fa commit 4cff604

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

html5lib/html5parser.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -152,18 +152,6 @@ def reset(self):
152152
self.framesetOK = True
153153

154154
def mainLoop(self):
155-
(CharactersToken,
156-
SpaceCharactersToken,
157-
StartTagToken,
158-
EndTagToken,
159-
CommentToken,
160-
DoctypeToken) = (tokenTypes["Characters"],
161-
tokenTypes["SpaceCharacters"],
162-
tokenTypes["StartTag"],
163-
tokenTypes["EndTag"],
164-
tokenTypes["Comment"],
165-
tokenTypes["Doctype"])
166-
167155
CharactersToken = tokenTypes["Characters"]
168156
SpaceCharactersToken = tokenTypes["SpaceCharacters"]
169157
StartTagToken = tokenTypes["StartTag"]

0 commit comments

Comments
 (0)