aboutsummaryrefslogtreecommitdiffstats
path: root/climl/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'climl/__init__.py')
-rw-r--r--climl/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/climl/__init__.py b/climl/__init__.py
index 8da9f80..e865254 100644
--- a/climl/__init__.py
+++ b/climl/__init__.py
@@ -2,6 +2,7 @@ from . import imap
from . import interface
from . import hooks
+
def on_email(content, hooks):
print('on_email:', content)
context = {}
@@ -13,6 +14,7 @@ def on_email(content, hooks):
print('now, raising exception')
raise interface.HookAbortError()
+
def main():
# TODO: how to load hooks with a dependency tree and sort them accordingly
# to generate hooks list ?