removed unused AutoCreationSkipped

This commit is contained in:
iLLiCiTiT 2021-10-01 18:59:36 +02:00
parent 3aa66f97c1
commit 1457d2874e
2 changed files with 0 additions and 18 deletions

View file

@ -1,6 +1,5 @@
from .creator_plugins import (
CreatorError,
AutoCreationSkipped,
BaseCreator,
Creator,
@ -15,7 +14,6 @@ from .context import (
__all__ = (
"CreatorError",
"AutoCreationSkipped",
"BaseCreator",
"Creator",

View file

@ -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.