From 1e8bc816f441e80ddca277987aa20b13924ce27c Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 11 May 2013 17:23:16 -0400 Subject: [PATCH] ec2 module: more indentation fixing --- cloud/ec2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/ec2 b/cloud/ec2 index ac030a48d07..4e3354590d0 100644 --- a/cloud/ec2 +++ b/cloud/ec2 @@ -263,9 +263,9 @@ def main(): # If we have a region specified, connect to its endpoint. if region: try: - ec2 = boto.ec2.connect_to_region(region, aws_access_key_id=ec2_access_key, aws_secret_access_key=ec2_secret_key) + ec2 = boto.ec2.connect_to_region(region, aws_access_key_id=ec2_access_key, aws_secret_access_key=ec2_secret_key) except boto.exception.NoAuthHandlerFound, e: - module.fail_json(msg = str(e)) + module.fail_json(msg = str(e)) # Otherwise, no region so we fallback to the old connection method else: try: