mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove superfluous warning category.
This commit is contained in:
parent
5cc72ca52b
commit
872f35f113
@ -3,8 +3,8 @@
|
|||||||
sphinx.errors
|
sphinx.errors
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
Contains SphinxError, a few subclasses (in an extra module to avoid
|
Contains SphinxError and a few subclasses (in an extra module to avoid
|
||||||
circular import problems), and related classes.
|
circular import problems).
|
||||||
|
|
||||||
:copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
|
:copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
|
||||||
:license: BSD, see LICENSE for details.
|
:license: BSD, see LICENSE for details.
|
||||||
@ -75,9 +75,3 @@ class SphinxParallelError(Exception):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return traceback.format_exception_only(
|
return traceback.format_exception_only(
|
||||||
self.orig_exc.__class__, self.orig_exc)[0].strip()
|
self.orig_exc.__class__, self.orig_exc)[0].strip()
|
||||||
|
|
||||||
class ConfigWarning(UserWarning):
|
|
||||||
"""
|
|
||||||
Base category for warnings about dubious configuration values.
|
|
||||||
"""
|
|
||||||
pass
|
|
||||||
|
Loading…
Reference in New Issue
Block a user