mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[CI] Format code with Black
This commit is contained in:
parent
ba60ece609
commit
5d0ce8d2a8
2 changed files with 4 additions and 1 deletions
|
@ -2365,7 +2365,9 @@ def _check_manifest_requirements(manifest: Dict, action: str):
|
|||
logger.debug(m18n.n("app_requirements_checking", app=app_id))
|
||||
|
||||
# Yunohost version requirement
|
||||
yunohost_requirement = version.parse(manifest["integration"]["yunohost"].strip(">= ") or "4.3")
|
||||
yunohost_requirement = version.parse(
|
||||
manifest["integration"]["yunohost"].strip(">= ") or "4.3"
|
||||
)
|
||||
yunohost_installed_version = version.parse(
|
||||
get_ynh_package_version("yunohost")["version"]
|
||||
)
|
||||
|
|
|
@ -457,6 +457,7 @@ investigate :
|
|||
|
||||
try:
|
||||
import smtplib
|
||||
|
||||
smtp = smtplib.SMTP("localhost")
|
||||
smtp.sendmail(from_, [to_], message.encode("utf-8"))
|
||||
smtp.quit()
|
||||
|
|
Loading…
Add table
Reference in a new issue