From 157f487bcde656abe5ba31636380b6ab24184109 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 11 May 2013 17:20:38 -0400 Subject: [PATCH] ec2_vol fixes for 'make pep8' --- library/cloud/ec2_vol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/cloud/ec2_vol b/library/cloud/ec2_vol index 04bc5959a1..349863ff7d 100644 --- a/library/cloud/ec2_vol +++ b/library/cloud/ec2_vol @@ -128,9 +128,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: