They're always used as dictionaries later on.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
overrides = ctx.config.get('overrides', {})
# merge each client section, not the top level.
- for (client, cconf) in config.iteritems():
- teuthology.deep_merge(cconf, overrides.get('s3tests', {}))
+ for client in config.iterkeys():
+ if not config[client]:
+ config[client] = {}
+ teuthology.deep_merge(config[client], overrides.get('s3tests', {}))
log.debug('config is %s', config)