flake8
This commit is contained in:
parent
ec3d6d1bc8
commit
d33bc8ab02
@ -121,7 +121,7 @@ def call_stack_deploy_init(deploy_command_context):
|
|||||||
# Link with the python file in the stack
|
# Link with the python file in the stack
|
||||||
# Call a function in it
|
# Call a function in it
|
||||||
# If no function found, return None
|
# If no function found, return None
|
||||||
python_file_paths = _commands_plugin_paths(deploy_command_context)
|
python_file_paths = _commands_plugin_paths(deploy_command_context)
|
||||||
|
|
||||||
ret = None
|
ret = None
|
||||||
init_done = False
|
init_done = False
|
||||||
@ -135,7 +135,7 @@ def call_stack_deploy_init(deploy_command_context):
|
|||||||
ret = imported_stack.init(deploy_command_context)
|
ret = imported_stack.init(deploy_command_context)
|
||||||
init_done = True
|
init_done = True
|
||||||
else:
|
else:
|
||||||
#TODO: remove this restriction
|
# TODO: remove this restriction
|
||||||
print(f"Skipping init() from plugin {python_file_path}. Only one init() is allowed.")
|
print(f"Skipping init() from plugin {python_file_path}. Only one init() is allowed.")
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user