This commit is contained in:
Romain Bignon 2010-05-01 14:37:57 +02:00
commit fbf639993b
2 changed files with 3 additions and 1 deletions

View file

@ -59,4 +59,4 @@ def get_parser(preference_order=('lxml', 'html5lib', 'elementtidy', 'builtin')):
except ImportError:
logging.debug('%s is not installed.' % kind)
raise NoParserFound()
raise NoParserFound("No parser found (%s)" % ','.join(preference_order))