From c099cdb72ddad8ea25c0a441dddc9a3c7626048d Mon Sep 17 00:00:00 2001 From: prachi Date: Fri, 18 May 2012 18:03:03 -0700 Subject: [PATCH] CS-14635 Issues relating to cloudstack-aws-api-register script again python indentation! --- awsapi-setup/setup/cloudstack-aws-api-register | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awsapi-setup/setup/cloudstack-aws-api-register b/awsapi-setup/setup/cloudstack-aws-api-register index bb8fe6308ef..5f8fe7671d3 100644 --- a/awsapi-setup/setup/cloudstack-aws-api-register +++ b/awsapi-setup/setup/cloudstack-aws-api-register @@ -30,7 +30,7 @@ def get_url(url, api_key, secret_key, action, query): urllib2.urlopen(url) if action == 'SetCertificate': print 'User registration is successful!' - return True + return True except urllib2.HTTPError, e: print 'User registration failed with http error code:' , e.code return False