Prevent traceback
This commit is contained in:
parent
140a2bdaf5
commit
71e6f991e0
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue