Skip to content

Commit

Permalink
Merge pull request #370 from rodeofx/warning-action-type
Browse files Browse the repository at this point in the history
Add "warning" and "failedOrWarning" action types
  • Loading branch information
mottosso authored Dec 2, 2020
2 parents 3290fd5 + 4da37db commit 3d3797c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyblish/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ def __init__(cls, *args, **kwargs):
"notProcessed",
"processed",
"failed",
"warning",
"failedOrWarning",
"succeeded"):
cls.__error__ = (
"Action had an unrecognised value "
Expand Down Expand Up @@ -391,6 +393,9 @@ class Action():
- "processed": The plug-in has been processed
- "succeeded": The plug-in has been processed, and succeeded
- "failed": The plug-in has been processed, and failed
- "warning": The plug-in has been processed, and had a warning
- "failedOrWarning": The plug-in has been processed, and failed or
had a warning
icon: Name, relative path or absolute path to image for
use as an icon of this action. For relative paths,
the current working directory of the host is used and
Expand Down

0 comments on commit 3d3797c

Please sign in to comment.