diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-02-24 13:40:29 +0000 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-02-24 13:40:29 +0000 |
commit | ca23a3074be34a28b1595e9db167b7a6f7459645 (patch) | |
tree | f1f73e6bbc5d01355092d5505e4a0602500ac4a9 | |
parent | b3d17f8b87a9b9a9864ec701bbf3d2105f613914 (diff) | |
download | pykolab-ca23a3074be34a28b1595e9db167b7a6f7459645.tar.gz |
Do not reset the retval for each plugin
-rw-r--r-- | pykolab/plugins/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pykolab/plugins/__init__.py b/pykolab/plugins/__init__.py index d308b6a..e21c1cc 100644 --- a/pykolab/plugins/__init__.py +++ b/pykolab/plugins/__init__.py @@ -222,8 +222,6 @@ class KolabPlugins(object): if not hasattr(self,plugin): continue - retval = None - if hasattr(getattr(self,plugin),hook): try: log.debug(_("Executing hook %s for plugin %s") %(hook,plugin), level=8) |