[UPD] format script python
This commit is contained in:
parent
85a1ff04f1
commit
3208f8f4dc
2 changed files with 8 additions and 3 deletions
|
|
@ -324,7 +324,9 @@ def add_configuration(dct_xml, file_name, config):
|
|||
conf_full["@folderName"] = conf_folder
|
||||
lst_configuration_full.insert(0, conf_full)
|
||||
else:
|
||||
_logger.info(f"Configuration already exist: '{s_unique_key}'")
|
||||
_logger.info(
|
||||
f"Configuration already exist: '{s_unique_key}'"
|
||||
)
|
||||
else:
|
||||
_logger.error(f"Cannot read file '{PATH_DEFAULT_CONFIGURATION}'")
|
||||
return has_change
|
||||
|
|
|
|||
|
|
@ -692,13 +692,16 @@ def check_git_change():
|
|||
run_command(
|
||||
"./script/code_generator/check_git_change_code_generator.sh",
|
||||
"./addons/TechnoLibre_odoo-code-generator-template",
|
||||
test_name="Init check_git_change TechnoLibre_odoo-code-generator-template",
|
||||
test_name=(
|
||||
"Init check_git_change"
|
||||
" TechnoLibre_odoo-code-generator-template"
|
||||
),
|
||||
),
|
||||
run_command(
|
||||
"./script/code_generator/check_git_change_code_generator.sh",
|
||||
"./addons/OCA_server-tools",
|
||||
test_name="Init check_git_change OCA_server-tools",
|
||||
)
|
||||
),
|
||||
]
|
||||
commands = asyncio.gather(*task_list)
|
||||
tpl_result = loop.run_until_complete(commands)
|
||||
|
|
|
|||
Loading…
Reference in a new issue