Remove debug output

This commit is contained in:
David Boreham 2023-10-09 13:33:48 -06:00
parent 9bcd94e014
commit 1e0b5cf684

View File

@ -108,7 +108,6 @@ def _fixup_pod_file(pod, spec, compose_dir):
def _commands_plugin_path(ctx: DeployCommandContext): def _commands_plugin_path(ctx: DeployCommandContext):
plugin_path = get_plugin_code_path(ctx.stack) plugin_path = get_plugin_code_path(ctx.stack)
print(f"Plugin path: {plugin_path}")
return plugin_path.joinpath("deploy", "commands.py") return plugin_path.joinpath("deploy", "commands.py")
@ -148,7 +147,6 @@ def call_stack_deploy_create(deployment_context, extra_args):
# Call a function in it # Call a function in it
# If no function found, return None # If no function found, return None
python_file_path = _commands_plugin_path(deployment_context.command_context) python_file_path = _commands_plugin_path(deployment_context.command_context)
print(f"Plugin is : {python_file_path}")
if python_file_path.exists(): if python_file_path.exists():
spec = util.spec_from_file_location("commands", python_file_path) spec = util.spec_from_file_location("commands", python_file_path)
imported_stack = util.module_from_spec(spec) imported_stack = util.module_from_spec(spec)