diff options
author | Alban Gruin | 2018-10-09 20:43:01 +0200 |
---|---|---|
committer | Alban Gruin | 2018-10-09 20:43:01 +0200 |
commit | 709919377593c60b9f03796433bd5e58ad553d67 (patch) | |
tree | 20e0d7cbca5ab42e52a316973c32fd2de3d67488 /management/parsers/abstractparser.py | |
parent | fc1fc472931cae0ba3d0a0103c328f85b7b52586 (diff) | |
parent | 171472d7dc42e2d3b390ad8b052c7e88fca21722 (diff) |
Merge branch 'stable/0.14.z' into prod/pa1ch/0.14.zv0.14.3-pa1ch
Signed-off-by: Alban Gruin <alban at pa1ch dot fr>
Diffstat (limited to 'management/parsers/abstractparser.py')
-rw-r--r-- | management/parsers/abstractparser.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/management/parsers/abstractparser.py b/management/parsers/abstractparser.py index 8d55b6d..3164082 100644 --- a/management/parsers/abstractparser.py +++ b/management/parsers/abstractparser.py @@ -50,3 +50,8 @@ class AbstractParser(metaclass=abc.ABCMeta): def get_source(self): return self._make_request(self.source.url) + + +class ParserError(Exception): + def __init__(self, message): + super(Exception, self).__init__(message) |