Change helpers.extract_domain_configs from generator to list bc concurrency

pull/1247/head
Paulus Schoutsen 2016-02-13 21:20:49 -08:00
parent 9204c44eec
commit e170484f16
1 changed files with 1 additions and 1 deletions

View File

@ -61,4 +61,4 @@ def config_per_platform(config, domain, logger):
def extract_domain_configs(config, domain):
""" Extract keys from config for given domain name. """
pattern = re.compile(r'^{}(| .+)$'.format(domain))
return (key for key in config.keys() if pattern.match(key))
return [key for key in config.keys() if pattern.match(key)]