lang/python: use error! instead of assert!

This commit is contained in:
Dan LaManna 2020-02-23 14:18:54 -05:00
parent fdba4472fc
commit 5a0657ed16

View file

@ -5,7 +5,7 @@
"This module requires (:tools lsp)")
(if (not (executable-find "python"))
(assert! "Python isn't installed.")
(error! "Python isn't installed.")
(unless (featurep! +lsp)
(unless (zerop (shell-command "python -c 'import setuptools'"))
(warn! "setuptools wasn't detected, which anaconda-mode requires"))))