summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-23 13:22:22 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-23 13:22:22 +0800
commitd339137dd8d57d88ad05413f64f44c363490d74e (patch)
treeca239523bf8d24779d477e8a870be54d521926d1
parent4e491e83c130d9a094bd40d9d713b6bec11ad591 (diff)
Fix vfc-gvnfm-vnfmgr pep8 F401 issue
Change-Id: Id0e66f9c0a0494c7a96364661ea90cd4e63ae82d Issue-ID: VFC-443 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r--mgr/mgr/vnfreg/urls.py4
-rw-r--r--mgr/tox.ini2
2 files changed, 3 insertions, 3 deletions
diff --git a/mgr/mgr/vnfreg/urls.py b/mgr/mgr/vnfreg/urls.py
index f08cb22..9933b68 100644
--- a/mgr/mgr/vnfreg/urls.py
+++ b/mgr/mgr/vnfreg/urls.py
@@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from django.conf.urls import patterns, url
-from rest_framework.urlpatterns import format_suffix_patterns
+from django.conf.urls import url
from mgr.vnfreg import views
+from rest_framework.urlpatterns import format_suffix_patterns
urlpatterns = [
url(r'^api/vnfmgr/v1/vnfs$', views.add_vnf, name='add_vnf'),
diff --git a/mgr/tox.ini b/mgr/tox.ini
index c8b743d..1911362 100644
--- a/mgr/tox.ini
+++ b/mgr/tox.ini
@@ -6,7 +6,7 @@ skipsdist = true
downloadcache = ~/cache/pip
[flake8]
-ignore = E501,E302,W293,E128,W291,F401
+ignore = E501,E302,W293,E128,W291
[testenv]
deps = -r{toxinidir}/requirements.txt