Removed some unused imports
This commit is contained in:
@@ -1,18 +1,15 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import flask_login
|
|
||||||
from flask import Blueprint, render_template, request
|
from flask import Blueprint, render_template, request
|
||||||
import flask
|
import flask
|
||||||
import werkzeug.exceptions as wz_exceptions
|
|
||||||
|
|
||||||
import pillarsdk
|
import pillarsdk
|
||||||
import pillar.api.utils
|
import pillar.api.utils
|
||||||
from pillar.web.system_util import pillar_api
|
from pillar.web.system_util import pillar_api
|
||||||
|
|
||||||
from attract.routes import attract_project_view
|
from attract.routes import attract_project_view
|
||||||
from attract.node_types.asset import node_type_asset, task_types
|
from attract.node_types.asset import node_type_asset
|
||||||
from attract import current_attract, ROLES_REQUIRED_TO_VIEW_ITEMS
|
from attract import current_attract
|
||||||
from pillar.web.utils import get_file
|
|
||||||
|
|
||||||
from . import routes_common
|
from . import routes_common
|
||||||
|
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import flask_login
|
|
||||||
from flask import Blueprint, render_template, request
|
from flask import Blueprint, render_template, request
|
||||||
import flask
|
import flask
|
||||||
import werkzeug.exceptions as wz_exceptions
|
import werkzeug.exceptions as wz_exceptions
|
||||||
@@ -10,9 +9,8 @@ import pillar.api.utils
|
|||||||
from pillar.web.system_util import pillar_api
|
from pillar.web.system_util import pillar_api
|
||||||
|
|
||||||
from attract.routes import attract_project_view
|
from attract.routes import attract_project_view
|
||||||
from attract.node_types.shot import node_type_shot, task_types
|
from attract.node_types.shot import node_type_shot
|
||||||
from attract import current_attract, ROLES_REQUIRED_TO_VIEW_ITEMS
|
from attract import current_attract
|
||||||
from pillar.web.utils import get_file
|
|
||||||
|
|
||||||
from . import routes_common
|
from . import routes_common
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user