We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e126f commit bfc278aCopy full SHA for bfc278a
html5lib/inputstream.py
@@ -449,7 +449,7 @@ def openStream(self, source):
449
450
try:
451
stream.seek(stream.tell())
452
- except:
+ except: # pylint:disable=bare-except
453
stream = BufferedStream(stream)
454
455
return stream
html5lib/utils.py
@@ -27,7 +27,7 @@
27
# We need this with u"" because of http://bugs.jython.org/issue2039
28
_x = eval('u"\\uD800"') # pylint:disable=eval-used
29
assert isinstance(_x, text_type)
30
-except:
+except: # pylint:disable=bare-except
31
supports_lone_surrogates = False
32
else:
33
supports_lone_surrogates = True
0 commit comments