Skip to content

Commit b60997a

Browse files
committed
Remove duplicated code
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%401012
1 parent 4454285 commit b60997a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/html5lib/inputstream.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from constants import EOF, spaceCharacters, asciiLetters, asciiUppercase
66
from constants import encodings
77
from utils import MethodDispatcher
8-
from collections import deque
98

109
try:
1110
from collections import deque
@@ -186,7 +185,7 @@ def read(self, chars=-1):
186185
else:
187186
result = self.data[:chars]
188187
self.data = self.data[chars:]
189-
return result
188+
return resutl
190189
def unget(self, data):
191190
if self.data:
192191
self.data += data

0 commit comments

Comments
 (0)