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

catch the error in the plugins manifest file

parent d00eb5d1
No related branches found
No related tags found
No related merge requests found
......@@ -480,6 +480,14 @@ class PluginManager(object):
# all fields are required
log.debug('%s : %s' % (module_attr_name,
'wrong manifest file. all fields are required!'))
except ConfigParser.NoSectionError, type_error:
# info section are required
log.debug('%s : %s' % (module_attr_name,
'wrong manifest file. info section are required!'))
except ConfigParser.MissingSectionHeaderError, type_error:
# info section are required
log.debug('%s : %s' % (module_attr_name,
'wrong manifest file. section are required!'))
return plugins_found
......
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