Move notification helper code into the root module

This commit is contained in:
Joseph Schorr 2017-07-14 16:29:59 +03:00
parent 5739e2ef4d
commit e7dbc4ee91
9 changed files with 92 additions and 8 deletions

View file

@ -8,7 +8,7 @@ import features
from data.database import ExternalNotificationEvent, IMAGE_NOT_SCANNED_ENGINE_VERSION, Image
from data.model.tag import filter_tags_have_repository_event, get_tags_for_image
from data.model.image import set_secscan_status, get_image_with_storage_and_parent_base
from notifications.notificationhelper import spawn_notification
from notifications import spawn_notification
from util.secscan import PRIORITY_LEVELS
from util.secscan.api import (APIRequestFailure, AnalyzeLayerException, MissingParentLayerException,
InvalidLayerException, AnalyzeLayerRetryException)