diff options
Diffstat (limited to 'climl/__init__.py')
-rw-r--r-- | climl/__init__.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/climl/__init__.py b/climl/__init__.py index e730690..c6f6db4 100644 --- a/climl/__init__.py +++ b/climl/__init__.py @@ -23,8 +23,6 @@ def on_email(content, hooks, conf): print('hook wanted to stop processing for current email') traceback.print_exc() print('◀▬▬▬▬▬▬▬') - print('now, raising exception (for dev purpose only)') - raise interface.HookAbortError('dev purpose abort') def conf_boolean_postprocess(src): @@ -49,15 +47,13 @@ def main(): confpath = os.path.expanduser('~/.config/climl/climl.cfg') conf = conf_postprocess(confparser.read_conf(confpath)) - # TODO: how to load hooks with a dependency tree and sort them accordingly - # to generate hooks list ? - # now try a fixed list ? hooksfuncs = ( hooks.hook_extract_listname, hooks.hook_check_ml_restrictions, # open/private ml hooks.hook_validate_poster, hooks.hook_process_subscribe_queries, hooks.hook_generate_rcpt_list, + hooks.hook_modify_reply_to, hooks.hook_send_all, ) print('starting imap.main loop') |