From 1457d2874e0ce518c034166319b2f940b9409452 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 1 Oct 2021 18:59:36 +0200 Subject: [PATCH] removed unused AutoCreationSkipped --- openpype/pipeline/create/__init__.py | 2 -- openpype/pipeline/create/creator_plugins.py | 16 ---------------- 2 files changed, 18 deletions(-) diff --git a/openpype/pipeline/create/__init__.py b/openpype/pipeline/create/__init__.py index cde6b1e9f8..610ef6d8e2 100644 --- a/openpype/pipeline/create/__init__.py +++ b/openpype/pipeline/create/__init__.py @@ -1,6 +1,5 @@ from .creator_plugins import ( CreatorError, - AutoCreationSkipped, BaseCreator, Creator, @@ -15,7 +14,6 @@ from .context import ( __all__ = ( "CreatorError", - "AutoCreationSkipped", "BaseCreator", "Creator", diff --git a/openpype/pipeline/create/creator_plugins.py b/openpype/pipeline/create/creator_plugins.py index c9df67e583..cd447c4f27 100644 --- a/openpype/pipeline/create/creator_plugins.py +++ b/openpype/pipeline/create/creator_plugins.py @@ -21,22 +21,6 @@ class CreatorError(Exception): super(CreatorError, self).__init__(message) -class AutoCreationSkipped(Exception): - """Should be raised when AutoCreator has nothing to do. - - When all instances that would autocreator create already exists. - - Message won't be shown in UI. - """ - - def __init__(self, message): - self._message = message - super(AutoCreationSkipped, self).__init__(message) - - def __str__(self): - return "<{}> {}".format(self.__class__.__name__, self._message) - - @six.add_metaclass(ABCMeta) class BaseCreator: """Plugin that create and modify instance data before publishing process.