summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/workflow.py
diff options
context:
space:
mode:
authorJ08nY2017-07-04 17:54:47 +0200
committerJ08nY2017-08-30 20:51:44 +0200
commit1e25ccd51424b1129b36acf7a6488cb2d272c8af (patch)
treeb9af4a3f49627e00a9314677d64084a0e49f5885 /src/mailman/interfaces/workflow.py
parent057bc0704ab6d975e327c11cac204decfb478c4d (diff)
downloadmailman-1e25ccd51424b1129b36acf7a6488cb2d272c8af.tar.gz
mailman-1e25ccd51424b1129b36acf7a6488cb2d272c8af.tar.zst
mailman-1e25ccd51424b1129b36acf7a6488cb2d272c8af.zip
Diffstat (limited to 'src/mailman/interfaces/workflow.py')
-rw-r--r--src/mailman/interfaces/workflow.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/interfaces/workflow.py b/src/mailman/interfaces/workflow.py
index 5b3582b58..a0a5cce31 100644
--- a/src/mailman/interfaces/workflow.py
+++ b/src/mailman/interfaces/workflow.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
"""