Fixed a bug in error reprting of the new 'include_parent' feature
This commit is contained in:
parent
81c46a31bc
commit
3a2651ccdb
@ -21,7 +21,7 @@ class ServiceDelegate(ServiceBase) :
|
||||
self._error.append('Missing required config option ' + requirement)
|
||||
return
|
||||
if 'include_parent' not in self._config or ('include_parent' in self._config and (self._config['include_parent'] == '' or type(self._config['include_parent']) != bool)):
|
||||
self._error.append('Missing required config option ' + requirement)
|
||||
self._error.append('Missing required config option \'include_parent\'')
|
||||
return
|
||||
if 'object_types' not in self._config or ('object_types' in self._config and (self._config['object_types'] == '' or type(self._config['object_types']) != list)):
|
||||
self._error.append('Missing at least one object type in object_types')
|
||||
|
Loading…
Reference in New Issue
Block a user