Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Commit

Permalink
Trac #10780: trac #10780: If you generate an error that's not an Impo…
Browse files Browse the repository at this point in the history
…rtError, it's covered up by this code: instead you get a name error.
  • Loading branch information
David Roe committed Sep 19, 2010
1 parent 52b65a9 commit 26b30d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sagenb/misc/misc.py
Expand Up @@ -202,6 +202,9 @@ def pad_zeros(s, size=3):
"CFF : '{\\\\Bold{CFF}}'",
"Bold : ['{\\\\mathbf{#1}}', 1]"
]
except Exception:
sage_jsmath_macros_easy = []
raise
finally:
jsmath_macros = ',\n'.join(sage_jsmath_macros_easy)

Expand Down

0 comments on commit 26b30d0

Please sign in to comment.