mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed unused AutoCreationSkipped
This commit is contained in:
parent
3aa66f97c1
commit
1457d2874e
2 changed files with 0 additions and 18 deletions
|
|
@ -1,6 +1,5 @@
|
|||
from .creator_plugins import (
|
||||
CreatorError,
|
||||
AutoCreationSkipped,
|
||||
|
||||
BaseCreator,
|
||||
Creator,
|
||||
|
|
@ -15,7 +14,6 @@ from .context import (
|
|||
|
||||
__all__ = (
|
||||
"CreatorError",
|
||||
"AutoCreationSkipped",
|
||||
|
||||
"BaseCreator",
|
||||
"Creator",
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue