diff options
| author | J08nY | 2017-07-04 17:54:47 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-30 13:18:11 +0200 |
| commit | d773e0fe42213a73ca0aacbfa2a665440f7b7e4d (patch) | |
| tree | 6bc84d1ab532648079b32216e133ebc4d189ab1a /src/mailman/interfaces/workflows.py | |
| parent | 49e4e6fb81127d7d6efe5e4170980d1b812c5793 (diff) | |
| download | mailman-d773e0fe42213a73ca0aacbfa2a665440f7b7e4d.tar.gz mailman-d773e0fe42213a73ca0aacbfa2a665440f7b7e4d.tar.zst mailman-d773e0fe42213a73ca0aacbfa2a665440f7b7e4d.zip | |
Diffstat (limited to 'src/mailman/interfaces/workflows.py')
| -rw-r--r-- | src/mailman/interfaces/workflows.py | 8 |
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 """ |
