mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1446 from YunoHost/ci-format-dev
[CI] Format code with Black
This commit is contained in:
commit
d11f32141e
3 changed files with 5 additions and 6 deletions
|
@ -140,7 +140,9 @@ def regen_conf(
|
||||||
# though kinda tight-coupled to the postinstall logic :s
|
# though kinda tight-coupled to the postinstall logic :s
|
||||||
if os.path.exists("/etc/yunohost/installed"):
|
if os.path.exists("/etc/yunohost/installed"):
|
||||||
env["YNH_DOMAINS"] = " ".join(domain_list()["domains"])
|
env["YNH_DOMAINS"] = " ".join(domain_list()["domains"])
|
||||||
env["YNH_MAIN_DOMAINS"] = " ".join(domain_list(exclude_subdomains=True)["domains"])
|
env["YNH_MAIN_DOMAINS"] = " ".join(
|
||||||
|
domain_list(exclude_subdomains=True)["domains"]
|
||||||
|
)
|
||||||
|
|
||||||
pre_result = hook_callback("conf_regen", names, pre_callback=_pre_call, env=env)
|
pre_result = hook_callback("conf_regen", names, pre_callback=_pre_call, env=env)
|
||||||
|
|
||||||
|
|
|
@ -36,10 +36,7 @@ from moulinette.utils.log import getActionLogger
|
||||||
from moulinette.utils.process import call_async_output
|
from moulinette.utils.process import call_async_output
|
||||||
from moulinette.utils.filesystem import read_yaml, write_to_yaml, cp, mkdir, rm
|
from moulinette.utils.filesystem import read_yaml, write_to_yaml, cp, mkdir, rm
|
||||||
|
|
||||||
from yunohost.app import (
|
from yunohost.app import app_upgrade, app_list
|
||||||
app_upgrade,
|
|
||||||
app_list
|
|
||||||
)
|
|
||||||
from yunohost.app_catalog import (
|
from yunohost.app_catalog import (
|
||||||
_initialize_apps_catalog_system,
|
_initialize_apps_catalog_system,
|
||||||
_update_apps_catalog,
|
_update_apps_catalog,
|
||||||
|
|
Loading…
Add table
Reference in a new issue