summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/workflow.py
diff options
context:
space:
mode:
authorBarry Warsaw2015-04-13 18:05:26 -0400
committerBarry Warsaw2015-04-13 18:05:26 -0400
commitf7a4e76d24898ec942a0f3a9a932916d9d0662bc (patch)
tree7953a2772cfdddc3c6464b9e02b2dab8cd29f400 /src/mailman/interfaces/workflow.py
parent3126d190d9c8a9b37da952cba42ea6e3b838a2c3 (diff)
downloadmailman-f7a4e76d24898ec942a0f3a9a932916d9d0662bc.tar.gz
mailman-f7a4e76d24898ec942a0f3a9a932916d9d0662bc.tar.zst
mailman-f7a4e76d24898ec942a0f3a9a932916d9d0662bc.zip
Diffstat (limited to 'src/mailman/interfaces/workflow.py')
-rw-r--r--src/mailman/interfaces/workflow.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mailman/interfaces/workflow.py b/src/mailman/interfaces/workflow.py
index 4a4fb4412..b60537652 100644
--- a/src/mailman/interfaces/workflow.py
+++ b/src/mailman/interfaces/workflow.py
@@ -63,4 +63,9 @@ class IWorkflowStateManager(Interface):
:type name: str
:param token: A unique token identifying this workflow instance.
:type token: str
+ :raises LookupError: when there's no token associated with the given
+ name in the workflow table.
"""
+
+ def count():
+ """The number of saved workflows in the database."""