Skip to content
Snippets Groups Projects
Commit 71e6f991 authored by Dicson's avatar Dicson
Browse files

Prevent traceback

parent 140a2bda
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment