Skip to content

Commit

Permalink
Rephrase the warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Dec 22, 2024
1 parent 45f73f3 commit 432513e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/databases/cremona.py
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ def CremonaDatabase(name=None, mini=None, set_global=None):
sage: C = CremonaDatabase(mini=False) # optional - !database_cremona_ellcurve
Traceback (most recent call last):
...
ValueError: full Cremona database is not available; run "sage -i database_cremona_ellcurve" to install it
ValueError: full Cremona database is not available; consider using mini Cremona database by mini=True
"""
if set_global is not None:
from sage.misc.superseded import deprecation
Expand All @@ -1707,7 +1707,7 @@ def CremonaDatabase(name=None, mini=None, set_global=None):
else:
if not DatabaseCremona().is_present():
raise ValueError('full Cremona database is not available; '
'run "sage -i database_cremona_ellcurve" to install it')
'consider using mini Cremona database by mini=True')
name = 'cremona'
elif name == 'cremona mini':
mini = True
Expand Down

0 comments on commit 432513e

Please sign in to comment.