Prevent traceback

This commit is contained in:
Denis Fomin 2012-01-07 12:00:04 +04:00
parent 140a2bdaf5
commit 71e6f991e0
1 changed files with 4 additions and 1 deletions

View File

@ -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,