diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-09-21 12:20:34 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2011-09-21 12:20:34 +0100 |
commit | 321269cf8f3e8459991260799e51fdf4d9482015 (patch) | |
tree | e3342ec26cc428e90ace52ae44dd1134f8cc59d6 | |
parent | 75a73b7182a7e5b2cc14331503c110591e6571e4 (diff) | |
download | pykolab-321269cf8f3e8459991260799e51fdf4d9482015.tar.gz |
Allow increased tracing verbosity on executing plugin hooks
-rw-r--r-- | pykolab/plugins/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/plugins/__init__.py b/pykolab/plugins/__init__.py index 8ef44f8..c3e0676 100644 --- a/pykolab/plugins/__init__.py +++ b/pykolab/plugins/__init__.py @@ -224,6 +224,7 @@ class KolabPlugins(object): if hasattr(getattr(self,plugin),hook): try: + log.debug(_("Executing hook %s for plugin %s") %(hook,plugin), level=9) exec("retval = self.%s.%s(*args, **kw)" %(plugin,hook)) except TypeError, e: log.error(_("Cannot execute hook %s for plugin %s: %s") %(hook,plugin,e)) @@ -232,7 +233,6 @@ class KolabPlugins(object): return retval - def return_true_boolean_from_plugins(self, bool, plugins=[]): """Given the name of a boolean, walks all specified plugins, or all available plugins, and returns True if a plugin has it set to true""" if len(plugins) < 1: |