Skip to content

Commit d68e75f

Browse files
committed
suggested detail
1 parent ec0405b commit d68e75f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/interfaces/magma_free.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def magma_free_eval(code: str, strip=True, columns=0):
3030
3131
The code must evaluate in at most 120 seconds
3232
and there is a limitation on the amount of RAM.
33+
Otherwise, some :exc:`TimeoutError` will be raised.
3334
3435
EXAMPLES::
3536
@@ -54,7 +55,7 @@ def magma_free_eval(code: str, strip=True, columns=0):
5455
results = response.read()
5556
conn.close()
5657

57-
if b"Gateway Timeout" in results:
58+
if b"Timeout" in results:
5859
raise TimeoutError('timeout from the server')
5960

6061
xmlDoc = parseString(results)

0 commit comments

Comments
 (0)