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: except TypeError, type_error:
# set plugin localization # set plugin localization
module_attr._ = _ try:
module_attr._ = _
except AttributeError, type_error:
pass
except ConfigParser.NoOptionError, type_error: except ConfigParser.NoOptionError, type_error:
# all fields are required # all fields are required
log.debug('%s : %s' % (module_attr_name, log.debug('%s : %s' % (module_attr_name,