summaryrefslogtreecommitdiffstats
path: root/catalog/pub/utils/restcall.py
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2020-08-06 09:20:55 +0800
committerdyh <dengyuanhong@chinamobile.com>2020-08-07 15:37:08 +0800
commit46bd3041d522ddce28ae3450e98c9c49b44b02cc (patch)
tree765a04f0a0bc4531d8bb6a0b4aba2304e894a34c /catalog/pub/utils/restcall.py
parent824413f6f354330f868b38a2ec8cb93b3c8d2808 (diff)
1. Remove the mandatory dependency on MSB
2. Refactor config file Change-Id: I8317ee0e1440e177a54e5510c6393529b6a3a5fe Issue-ID: MODELING-411 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'catalog/pub/utils/restcall.py')
-rw-r--r--catalog/pub/utils/restcall.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/catalog/pub/utils/restcall.py b/catalog/pub/utils/restcall.py
index 4d40068..6dbab78 100644
--- a/catalog/pub/utils/restcall.py
+++ b/catalog/pub/utils/restcall.py
@@ -12,13 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+import base64
+import logging
import sys
import traceback
-import logging
import urllib
import uuid
+
import httplib2
-import base64
from catalog.pub.config.config import MSB_BASE_URL