From c4071c1e034fc823369635ae6a0b6fa3a9826afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 24 Aug 2017 14:21:23 +0200 Subject: [PATCH] Removed some unused imports --- attract/shots_and_assets/routes_assets.py | 7 ++----- attract/shots_and_assets/routes_shots.py | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/attract/shots_and_assets/routes_assets.py b/attract/shots_and_assets/routes_assets.py index 53be8e6..0fe2c3e 100644 --- a/attract/shots_and_assets/routes_assets.py +++ b/attract/shots_and_assets/routes_assets.py @@ -1,18 +1,15 @@ import logging -import flask_login from flask import Blueprint, render_template, request import flask -import werkzeug.exceptions as wz_exceptions import pillarsdk import pillar.api.utils from pillar.web.system_util import pillar_api from attract.routes import attract_project_view -from attract.node_types.asset import node_type_asset, task_types -from attract import current_attract, ROLES_REQUIRED_TO_VIEW_ITEMS -from pillar.web.utils import get_file +from attract.node_types.asset import node_type_asset +from attract import current_attract from . import routes_common diff --git a/attract/shots_and_assets/routes_shots.py b/attract/shots_and_assets/routes_shots.py index 4655d0b..7535815 100644 --- a/attract/shots_and_assets/routes_shots.py +++ b/attract/shots_and_assets/routes_shots.py @@ -1,6 +1,5 @@ import logging -import flask_login from flask import Blueprint, render_template, request import flask import werkzeug.exceptions as wz_exceptions @@ -10,9 +9,8 @@ import pillar.api.utils from pillar.web.system_util import pillar_api from attract.routes import attract_project_view -from attract.node_types.shot import node_type_shot, task_types -from attract import current_attract, ROLES_REQUIRED_TO_VIEW_ITEMS -from pillar.web.utils import get_file +from attract.node_types.shot import node_type_shot +from attract import current_attract from . import routes_common