Issues relating to cloudstack-aws-api-register script

again python indentation!
This commit is contained in:
prachi 2012-05-18 18:03:03 -07:00
parent c5a196f005
commit c099cdb72d
1 changed files with 1 additions and 1 deletions

View File

@ -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