summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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