aboutsummaryrefslogtreecommitdiffstats
path: root/climl/interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'climl/interface.py')
-rw-r--r--climl/interface.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/climl/interface.py b/climl/interface.py
index 5a7f6ba..549eb8b 100644
--- a/climl/interface.py
+++ b/climl/interface.py
@@ -17,3 +17,11 @@ class HookAbortError(HookError):
'''
pass
+
+class HookAbortError(HookError, StopIteration):
+ '''
+ Run this if your hook declares it does not want other hooks to process
+ email.
+ '''
+
+ pass