diff --git a/ec2/spark_ec2.py b/ec2/spark_ec2.py
index 91f0a24d1200ba3562b07794a25c2a47234c0edf..3880c2d5962e185c9ca0284e5eee3dc0bd323569 100755
--- a/ec2/spark_ec2.py
+++ b/ec2/spark_ec2.py
@@ -1111,8 +1111,8 @@ def ssh(host, opts, command):
                 # If this was an ssh failure, provide the user with hints.
                 if e.returncode == 255:
                     raise UsageError(
-                        "Failed to SSH to remote host {0}.\n" +
-                        "Please check that you have provided the correct --identity-file and " +
+                        "Failed to SSH to remote host {0}.\n"
+                        "Please check that you have provided the correct --identity-file and "
                         "--key-pair parameters and try again.".format(host))
                 else:
                     raise e