File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -645,9 +645,9 @@ def _parser_dispatch(flavor):
645
645
646
646
if flavor in ('bs4' , 'html5lib' ):
647
647
if not _HAS_HTML5LIB :
648
- raise ImportError ("html5lib not found please install it" )
648
+ raise ImportError ("html5lib not found, please install it" )
649
649
if not _HAS_BS4 :
650
- raise ImportError ("bs4 not found please install it" )
650
+ raise ImportError ("BeautifulSoup4 ( bs4) not found, please install it" )
651
651
if bs4 .__version__ == LooseVersion ('4.2.0' ):
652
652
raise ValueError ("You're using a version"
653
653
" of BeautifulSoup4 (4.2.0) that has been"
@@ -658,7 +658,7 @@ def _parser_dispatch(flavor):
658
658
" and later releases will work." )
659
659
else :
660
660
if not _HAS_LXML :
661
- raise ImportError ("lxml not found please install it" )
661
+ raise ImportError ("lxml not found, please install it" )
662
662
return _valid_parsers [flavor ]
663
663
664
664
You can’t perform that action at this time.
0 commit comments