lang/python: use error! instead of assert!
This commit is contained in:
parent
fdba4472fc
commit
5a0657ed16
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
"This module requires (:tools lsp)")
|
"This module requires (:tools lsp)")
|
||||||
|
|
||||||
(if (not (executable-find "python"))
|
(if (not (executable-find "python"))
|
||||||
(assert! "Python isn't installed.")
|
(error! "Python isn't installed.")
|
||||||
(unless (featurep! +lsp)
|
(unless (featurep! +lsp)
|
||||||
(unless (zerop (shell-command "python -c 'import setuptools'"))
|
(unless (zerop (shell-command "python -c 'import setuptools'"))
|
||||||
(warn! "setuptools wasn't detected, which anaconda-mode requires"))))
|
(warn! "setuptools wasn't detected, which anaconda-mode requires"))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue