Skip to content

Commit 26c5ed0

Browse files
committed
replace print with write()
1 parent bb67c06 commit 26c5ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ec2/spark_ec2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def wait_for_cluster_state(cluster_instances, cluster_state, opts):
643643
sys.stdout.flush()
644644
time.sleep(3)
645645

646-
print "" # so that next line of output starts on new line
646+
sys.stdout.write("\n")
647647

648648

649649
# Get number of local disks available for a given EC2 instance type.

0 commit comments

Comments
 (0)