summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/workflows.py
diff options
context:
space:
mode:
authorJ08nY2017-07-04 17:54:47 +0200
committerJ08nY2017-08-07 18:18:00 +0200
commit505f47025ca3fab68a489238837c1a84e4b2a1b6 (patch)
treeae7686a1602f0aacfae4d15b6ded7b28dbd28a68 /src/mailman/interfaces/workflows.py
parente8a0de7723c6e1d42ec2bf6fd4a4d8f22f237b78 (diff)
downloadmailman-505f47025ca3fab68a489238837c1a84e4b2a1b6.tar.gz
mailman-505f47025ca3fab68a489238837c1a84e4b2a1b6.tar.zst
mailman-505f47025ca3fab68a489238837c1a84e4b2a1b6.zip
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
"""