mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Avoid using bare except
This commit is contained in:
parent
3bb61e9094
commit
7ec3a23762
@ -604,7 +604,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
|
||||
try:
|
||||
if builder.config.math_numfig:
|
||||
self.elements['sphinxpkgoptions'] += ',mathnumfig'
|
||||
except:
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
if builder.config.latex_logo:
|
||||
|
Loading…
Reference in New Issue
Block a user