From 552c05d0313f5d30fb42f4514f68cec2bfe93538 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Mon, 17 Sep 2018 09:13:42 +0200 Subject: [PATCH] Update pillar hooks path to eve_hooks Follow naming convention. --- attract/comments/eve_hooks.py | 2 +- attract/eve_hooks.py | 2 +- attract/shots_and_assets/eve_hooks.py | 2 +- attract/tasks/eve_hooks.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/attract/comments/eve_hooks.py b/attract/comments/eve_hooks.py index 0c7470d..3939d87 100644 --- a/attract/comments/eve_hooks.py +++ b/attract/comments/eve_hooks.py @@ -2,7 +2,7 @@ import logging import flask -from pillar.api.nodes import only_for_node_type_decorator +from pillar.api.nodes.eve_hooks import only_for_node_type_decorator import pillar.api.activities import pillar.api.utils.authentication diff --git a/attract/eve_hooks.py b/attract/eve_hooks.py index bb9c389..7a42644 100644 --- a/attract/eve_hooks.py +++ b/attract/eve_hooks.py @@ -4,7 +4,7 @@ import logging import flask -from pillar.api.nodes import only_for_node_type_decorator +from pillar.api.nodes.eve_hooks import only_for_node_type_decorator from .node_types import NODE_TYPES log = logging.getLogger(__name__) diff --git a/attract/shots_and_assets/eve_hooks.py b/attract/shots_and_assets/eve_hooks.py index 113f918..02ca909 100644 --- a/attract/shots_and_assets/eve_hooks.py +++ b/attract/shots_and_assets/eve_hooks.py @@ -10,7 +10,7 @@ import logging from attract.node_types.shot import node_type_shot, human_readable_properties from attract.node_types.asset import node_type_asset -from pillar.api.nodes import only_for_node_type_decorator +from pillar.api.nodes.eve_hooks import only_for_node_type_decorator import pillar.api.activities import pillar.api.utils.authentication import pillar.api.utils diff --git a/attract/tasks/eve_hooks.py b/attract/tasks/eve_hooks.py index f2510d0..c1fd780 100644 --- a/attract/tasks/eve_hooks.py +++ b/attract/tasks/eve_hooks.py @@ -5,7 +5,7 @@ import logging import itertools from flask import current_app, g -from pillar.api.nodes import only_for_node_type_decorator +from pillar.api.nodes.eve_hooks import only_for_node_type_decorator import pillar.api.activities import pillar.api.utils.authentication import pillar.web.jinja