move ParseError into weboob.tools.exceptions
This commit is contained in:
parent
6fcac89dd5
commit
3e1dec519e
2 changed files with 3 additions and 4 deletions
|
|
@ -25,6 +25,7 @@ from decimal import Decimal, InvalidOperation
|
||||||
import re
|
import re
|
||||||
import lxml.html as html
|
import lxml.html as html
|
||||||
|
|
||||||
|
from weboob.tools.exceptions import ParseError
|
||||||
from weboob.tools.misc import html2text
|
from weboob.tools.misc import html2text
|
||||||
from weboob.tools.compat import basestring
|
from weboob.tools.compat import basestring
|
||||||
from weboob.capabilities.base import empty
|
from weboob.capabilities.base import empty
|
||||||
|
|
@ -33,10 +34,6 @@ from weboob.capabilities.base import empty
|
||||||
_NO_DEFAULT = object()
|
_NO_DEFAULT = object()
|
||||||
|
|
||||||
|
|
||||||
class ParseError(Exception):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class FilterError(ParseError):
|
class FilterError(ParseError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,3 +46,5 @@ class BrowserHTTPError(BrowserUnavailable):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class ParseError(Exception):
|
||||||
|
pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue