summaryrefslogtreecommitdiff
path: root/src/mailman
diff options
context:
space:
mode:
authorBarry Warsaw2015-03-30 09:10:34 -0400
committerBarry Warsaw2015-03-30 09:10:34 -0400
commit017decd6fb8288ec498a4ab32be2273699c7cdaf (patch)
tree365a9754bb5e1b61b6128d9187d734aa4e48e3d2 /src/mailman
parent45ae1b259e2ee56f6146bc1a3acf884b0907999d (diff)
downloadmailman-017decd6fb8288ec498a4ab32be2273699c7cdaf.tar.gz
mailman-017decd6fb8288ec498a4ab32be2273699c7cdaf.tar.zst
mailman-017decd6fb8288ec498a4ab32be2273699c7cdaf.zip
Diffstat (limited to 'src/mailman')
-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