Fix vfc-gvnfm-vnfmgr pep8 F401 issue 09/14809/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Sat, 23 Sep 2017 05:22:22 +0000 (13:22 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Sat, 23 Sep 2017 05:22:22 +0000 (13:22 +0800)
Change-Id: Id0e66f9c0a0494c7a96364661ea90cd4e63ae82d
Issue-ID: VFC-443
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
mgr/mgr/vnfreg/urls.py
mgr/tox.ini

index f08cb22..9933b68 100644 (file)
@@ -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'),
index c8b743d..1911362 100644 (file)
@@ -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