summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mailman/app/workflow.py2
-rw-r--r--src/mailman/interfaces/workflow.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/app/workflow.py b/src/mailman/app/workflow.py
index 004b15c75..bba5bb694 100644
--- a/src/mailman/app/workflow.py
+++ b/src/mailman/app/workflow.py
@@ -75,7 +75,7 @@ class Workflow:
# an issue in practice, since there's never more than a single step in
# the queue anyway. If we want to support more than a single step in
# the queue *and* want to support state saving/restoring, change this
- # method and the restore_state() method.
+ # method and the restore() method.
if len(self._next) == 0:
step = None
elif len(self._next) == 1:
diff --git a/src/mailman/interfaces/workflow.py b/src/mailman/interfaces/workflow.py
index b5aeec093..49fbc85d4 100644
--- a/src/mailman/interfaces/workflow.py
+++ b/src/mailman/interfaces/workflow.py
@@ -36,7 +36,7 @@ class IWorkflowState(Interface):
step = Attribute("This workflow's next step.")
- data = Attribute('Additional data (may be JSON-encodedeJSON .')
+ data = Attribute('Additional data (may be JSON-encoded).')
@@ -44,7 +44,7 @@ class IWorkflowStateManager(Interface):
"""The workflow states manager."""
def save(name, key, step, data=None):
- """Save the state of a workflow
+ """Save the state of a workflow.
:param name: The name of the workflow.
:type name: str