Skip to content

Commit

Permalink
Remove ModuleNotFound from try/except
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioRosado committed Jun 18, 2018
1 parent 63f185e commit f6f3dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

try:
import sphinxcontrib.spelling # noqa
except (ImportError, ModuleNotFoundError) as err:
except ImportError as err:
logger.warning(('sphinxcontrib.spelling failed to import with error "{}". '
'`spellcheck` command is not available.'.format(err)))
else:
Expand Down

0 comments on commit f6f3dd2

Please sign in to comment.