mirror of https://github.com/apache/cloudstack.git
python script needs indentation corrected
This commit is contained in:
parent
89cb26c4ea
commit
6d544f1e93
|
|
@ -28,7 +28,7 @@ def get_url(url, api_key, secret_key, action, query):
|
|||
url = url + '?' + query + '&Signature=' + get_signature(secret_key, url, query)
|
||||
try:
|
||||
urllib2.urlopen(url)
|
||||
if action == 'SetCertificate':
|
||||
if action == 'SetCertificate':
|
||||
print 'User registration is successful!'
|
||||
return True
|
||||
except urllib2.HTTPError, e:
|
||||
|
|
|
|||
Loading…
Reference in New Issue