From 83343971bca99b2cec3c8defde4d7c2812bcdb91 Mon Sep 17 00:00:00 2001 From: chengaoxing Date: Wed, 15 May 2019 21:28:42 +0800 Subject: [PATCH] update : update --- src/portalmng.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/portalmng.py b/src/portalmng.py index 2c40b43..f2ae75e 100644 --- a/src/portalmng.py +++ b/src/portalmng.py @@ -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 -- 2.26.0