summaryrefslogtreecommitdiffstats
path: root/share/newton_base/registration/registration.py
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-02-28 03:44:35 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-03-01 02:39:05 +0800
commitb14e1359642e17daf769ca39fa01e644135191f0 (patch)
treef29fcbd5c81df64eac4796bdd0c0423d460ebe17 /share/newton_base/registration/registration.py
parentb99c0d415f37ca26443514d43f3cc1975185bf74 (diff)
Move extsys from newton to common
Change-Id: I30ad2ed3a43bcb0ef569bb25d3e51a9ab49ea48a Issue-ID: MULTICLOUD-138 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'share/newton_base/registration/registration.py')
-rw-r--r--share/newton_base/registration/registration.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/share/newton_base/registration/registration.py b/share/newton_base/registration/registration.py
index d9ce713d..e5a84501 100644
--- a/share/newton_base/registration/registration.py
+++ b/share/newton_base/registration/registration.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2017 Wind River Systems, Inc.
+# Copyright (c) 2017-2018 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -21,11 +21,10 @@ from rest_framework import status
from rest_framework.response import Response
from rest_framework.views import APIView
-from newton.pub.config import config
-from newton.pub.exceptions import VimDriverNewtonException
-from newton.pub.msapi import extsys
-from newton.pub.utils import restcall
-from newton.requests.views.util import VimDriverUtils
+from common.exceptions import VimDriverNewtonException
+from common.msapi import extsys
+from common.utils import restcall
+from newton_base.util import VimDriverUtils
logger = logging.getLogger(__name__)