summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/workflows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/workflows.py')
-rw-r--r--src/mailman/interfaces/workflows.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/interfaces/workflows.py b/src/mailman/interfaces/workflows.py
index b110a481e..0fad52cca 100644
--- a/src/mailman/interfaces/workflows.py
+++ b/src/mailman/interfaces/workflows.py
@@ -27,7 +27,7 @@ class IWorkflowState(Interface):
token = Attribute('A unique key identifying the workflow instance.')
- step = Attribute("This workflow's next step.")
+ steps = Attribute("This workflow's next steps.")
data = Attribute('Additional data (may be JSON-encoded).')
@@ -36,13 +36,13 @@ class IWorkflowState(Interface):
class IWorkflowStateManager(Interface):
"""The workflow states manager."""
- def save(token, step, data=None):
+ def save(token, steps, data=None):
"""Save the state of a workflow.
:param token: A unique token identifying this workflow instance.
:type token: str
- :param step: The next step for this workflow.
- :type step: str
+ :param steps: The next steps for this workflow.
+ :type steps: str
:param data: Additional data (workflow-specific).
:type data: str
"""