Merge pull request #2559 from mgeier/parallel-error

Why is SphinxParallelError not derived from SphinxError?
This commit is contained in:
Takeshi KOMIYA 2016-06-10 15:01:47 +09:00 committed by GitHub
commit 42a6102cee

View File

@ -67,7 +67,10 @@ class PycodeError(Exception):
return res return res
class SphinxParallelError(Exception): class SphinxParallelError(SphinxError):
category = 'Sphinx parallel build error'
def __init__(self, orig_exc, traceback): def __init__(self, orig_exc, traceback):
self.orig_exc = orig_exc self.orig_exc = orig_exc
self.traceback = traceback self.traceback = traceback