Prevent traceback
This commit is contained in:
parent
140a2bdaf5
commit
71e6f991e0
|
@ -475,7 +475,10 @@ class PluginManager(object):
|
|||
|
||||
except TypeError, type_error:
|
||||
# set plugin localization
|
||||
try:
|
||||
module_attr._ = _
|
||||
except AttributeError, type_error:
|
||||
pass
|
||||
except ConfigParser.NoOptionError, type_error:
|
||||
# all fields are required
|
||||
log.debug('%s : %s' % (module_attr_name,
|
||||
|
|
Loading…
Reference in New Issue