Commit 83343971 authored by chengaoxing's avatar chengaoxing

update : update

parent 8b573ea3
......@@ -76,7 +76,7 @@ class arcgis(object):
}
uri = "https://%s:7443/arcgis/portaladmin/createNewSite" % self.hostname
print(uri)
try:
response = requests.post(
uri,
......@@ -90,6 +90,8 @@ class arcgis(object):
if err is not None:
print("Some error happended when create the new site: \n %s \n"%(err))
return False
else:
print("Response : %s" % (response.text))
except Exception as e:
print("Error when post the requrest with reason :%s"%e)
timeout = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment