Skip to content

Commit c157057

Browse files
committed
Add missing return statement
1 parent 0b3f7b9 commit c157057

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sage/repl/ipython_kernel/install.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ def check(cls):
269269
warnings.warn(f'The kernel named {ident} does not seem to be runnable; '
270270
'check your Jupyter configuration '
271271
'(see https://docs.jupyter.org/en/latest/use/jupyter-directories.html).')
272+
return
272273
if Path(kernel_executable).resolve() != Path(sys.executable).resolve():
273274
warnings.warn(f'The kernel named {ident} does not seem to correspond to this '
274275
'installation of SageMath; check your Jupyter configuration '

0 commit comments

Comments
 (0)