From 1fafd8329a4bc60e320e74d694142c560464f8c4 Mon Sep 17 00:00:00 2001 From: Joel Dunham Date: Tue, 7 Nov 2017 16:20:34 -0800 Subject: [PATCH] Make FLAKE8 happy (linting) --- storage_service/locations/api/search/__init__.py | 4 +++- storage_service/locations/api/urls.py | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/storage_service/locations/api/search/__init__.py b/storage_service/locations/api/search/__init__.py index d2e8510b2..648668a70 100644 --- a/storage_service/locations/api/search/__init__.py +++ b/storage_service/locations/api/search/__init__.py @@ -1,3 +1,5 @@ # Common # May have multiple models, so import * and use __all__ in file. -from router import * +from router import router + +__all__ = ['router'] diff --git a/storage_service/locations/api/urls.py b/storage_service/locations/api/urls.py index 07c7d2d88..7515a45dd 100644 --- a/storage_service/locations/api/urls.py +++ b/storage_service/locations/api/urls.py @@ -1,8 +1,6 @@ from django.conf.urls import include, url -from rest_framework import routers, serializers, viewsets, filters, generics from tastypie.api import Api -from locations import models from locations.api import v1, v2 from locations.api.search import router from locations.api.sword import views