From 56bd9a14d597d2afd63521ca897cc4ce47c10ae2 Mon Sep 17 00:00:00 2001 From: Mohan Krishnan Date: Sun, 3 Nov 2013 14:48:35 +0700 Subject: [PATCH] Fix for connect method parameter order --- library/cloud/ec2_eip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/cloud/ec2_eip b/library/cloud/ec2_eip index e34c89ef18..1c5db8cf4c 100644 --- a/library/cloud/ec2_eip +++ b/library/cloud/ec2_eip @@ -102,7 +102,8 @@ else: boto_found = True -def connect(ec2_url, ec2_secret_key, ec2_access_key, region, module): +def connect(ec2_url, ec2_access_key, ec2_secret_key, region, module): + """ Return an ec2 connection""" # allow environment variables to be used if ansible vars aren't set if not ec2_url and 'EC2_URL' in os.environ: