Skip to content

Commit 0257cb8

Browse files
author
Ubuntu
committed
synatax error with :
1 parent 255cbeb commit 0257cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_boto3_modular_multi_processing/sequential_master_modules/install_tomcat_on_each_of_new_instances_ThreadPoolExecutor_list_failed_installation_ips_3_8_and_12_wait_for_all_public_ips_REFACTORED_multiprocessing_pooling_LOGGING_wrapper_buf_MAIN_LOGGING.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ def install_tomcat(ip, private_ip, instance_id):
883883
print(f"Warning on {ip}: {stderr_output}")
884884
stderr_output = ""
885885

886-
if stderr_output.strip() # If there are any other errors left after ignoring warnings:
886+
if stderr_output.strip(): # If there are any other errors left after ignoring warnings:
887887
print(f"Error executing command on {ip}: {stderr_output}")
888888
ssh.close()
889889
return ip, private_ip, False

0 commit comments

Comments
 (0)