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

catch the error in the plugins manifest file

parent e69f17de
No related branches found
No related tags found
No related merge requests found
......@@ -480,6 +480,14 @@ def scan_dir_for_plugins(path, scan_dirs=True):
# 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