Merge commit 'e3d222912dfd775b7456a44d6d6055430711f251' into feature/objectify

This commit is contained in:
Gerald Lonlas
2018-03-04 00:51:22 -08:00
8 changed files with 119 additions and 26 deletions

View File

@@ -156,6 +156,11 @@ class Configuration(object):
config.update({'mongodb': self.args.mongodb})
self.logger.info('Parameter --use-mongodb detected ...')
# If --spaces is used we add it to the configuration
if 'spaces' in self.args and self.args.spaces:
config.update({'spaces': self.args.spaces})
self.logger.info('Parameter -s/--spaces detected: %s', config.get('spaces'))
return config
def _validate_config(self, conf: Dict[str, Any]) -> Dict[str, Any]: