Derive SphinxParallelError from SphinxError

This commit is contained in:
Matthias Geier 2016-05-20 13:38:25 +02:00
parent c9296ba467
commit f100749300

View File

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