diff options
author | Denis Fomin <fominde@gmail.com> | 2012-01-07 12:00:04 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2012-01-07 12:00:04 +0400 |
commit | 71e6f991e0dc729ffffe2f25496a3d89c7e34207 (patch) | |
tree | ef15c43cefe29e8522a26e32825cb49d2499d258 /src/plugins | |
parent | 140a2bdaf5c17994c1392a7c662fc5d6739d4518 (diff) |
Prevent traceback
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/pluginmanager.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/pluginmanager.py b/src/plugins/pluginmanager.py index 875c64356..71bf6c469 100644 --- a/src/plugins/pluginmanager.py +++ b/src/plugins/pluginmanager.py @@ -475,7 +475,10 @@ class PluginManager(object): except TypeError, type_error: # set plugin localization - module_attr._ = _ + try: + module_attr._ = _ + except AttributeError, type_error: + pass except ConfigParser.NoOptionError, type_error: # all fields are required log.debug('%s : %s' % (module_attr_name, |