diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-19 21:48:33 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-19 21:48:33 +0000 |
commit | 45fce4a54f4448864525462bc66f5d327c0d8def (patch) | |
tree | cf507bba22a6dc1ead796e299de8c15d3459de97 /alot/ui.py | |
parent | 790ebe9d71f87b9295a99de28ae892d22caabe42 (diff) |
dont pass config parm to hooks
Diffstat (limited to 'alot/ui.py')
-rw-r--r-- | alot/ui.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -436,9 +436,7 @@ class UI(object): if cmd.prehook: logging.debug('calling pre-hook') try: - cmd.prehook(ui=self, dbm=self.dbman, - config=settings) - + cmd.prehook(ui=self, dbm=self.dbman) except: logging.exception('prehook failed') @@ -447,9 +445,7 @@ class UI(object): if cmd.posthook: logging.debug('calling post-hook') try: - cmd.posthook(ui=self, dbm=self.dbman, - config=settings) - #TODO: ducument hooks wrt settingsmanager + cmd.posthook(ui=self, dbm=self.dbman) except: logging.exception('posthook failed') |