def parse_config_list(config_list):
if config_list is None:<EOL><INDENT>return {}<EOL><DEDENT>else:<EOL><INDENT>mapping = {}<EOL>for pair in config_list:<EOL><INDENT>if (constants.CONFIG_SEPARATOR not in pair) or (pair.count(constants.CONFIG_SEPARATOR) != <NUM_LIT:1>):<EOL><INDENT>raise ValueError("<STR_LIT>", constants.CONFIG_SEPARATOR)<EOL><DEDENT>(config, value) = pair.split(constants.CONFIG_SEPARATOR)<EOL>mapping[config] = value<EOL><DEDENT>return mapping<EOL><DEDENT>
Parse a list of configuration properties separated by '='