Skip to content

Commit

Permalink
Use errno symbols from standard library
Browse files Browse the repository at this point in the history
errno symbols in sphinx.util.osutil are deprecated since Sphinx 2.0 and
have been removed in Sphinx 4.0.

Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
  • Loading branch information
Stefan Wiehler committed Nov 30, 2020
1 parent 299b028 commit 252a0b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sphinxcontrib/inkscapeconverter.py
Expand Up @@ -17,7 +17,7 @@
from sphinx.locale import __
from sphinx.transforms.post_transforms.images import ImageConverter
from sphinx.util import logging
from sphinx.util.osutil import ENOENT, EPIPE, EINVAL
from errno import ENOENT, EPIPE, EINVAL

if False:
# For type annotation
Expand Down
2 changes: 1 addition & 1 deletion sphinxcontrib/rsvgconverter.py
Expand Up @@ -16,7 +16,7 @@
from sphinx.locale import __
from sphinx.transforms.post_transforms.images import ImageConverter
from sphinx.util import logging
from sphinx.util.osutil import ENOENT, EPIPE, EINVAL
from errno import ENOENT, EPIPE, EINVAL

if False:
# For type annotation
Expand Down

0 comments on commit 252a0b0

Please sign in to comment.