Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add appropriate fallback if SAGE_PARI_CFG is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwifb committed Aug 12, 2019
1 parent dd2b3fa commit 27f17ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage_setup/docbuild/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def _build_many(target, args):
raise
return ret

if (os.environ['SAGE_PARI_CFG'] !='') and (not (CYGWIN_VERSION and CYGWIN_VERSION[0] < 3)):
if (os.environ.get('SAGE_PARI_CFG', '') !='') and (not (CYGWIN_VERSION and CYGWIN_VERSION[0] < 3)):
build_many = _build_many
else:
# Cygwin 64-bit < 3.0.0 has a bug with exception handling when exceptions
Expand Down

0 comments on commit 27f17ff

Please sign in to comment.