summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-07-17 18:11:31 +0100
committerpazz <patricktotzke@gmail.com>2011-07-17 18:11:31 +0100
commita6cbde6c6154f50b701612569d073cbab86bd7cf (patch)
treef186a0a0ff592a134da1f8d23e28619b3636bfb9 /data
parentbfc131406b99edf35dfefe6036dcc1c732adc53a (diff)
vim-like single word commands: issue #51
Diffstat (limited to 'data')
-rw-r--r--data/example_hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/example_hooks.py b/data/example_hooks.py
index 2c9baf75..1c1e0e9d 100644
--- a/data/example_hooks.py
+++ b/data/example_hooks.py
@@ -1,5 +1,5 @@
# hooks get two parameters, an alot.ui.UI object, and an alt.db.DBManager object
# for all commands X, pre_X gets called before, post_X after X is applied.
-def pre_shutdown(ui,dbman):
+def pre_exit(ui, dbman):
ui.logger.info('goodbye!')