def extract_diff_sla_from_config_file(obj, options_file):
rule_strings = {}<EOL>config_obj = ConfigParser.ConfigParser()<EOL>config_obj.optionxform = str<EOL>config_obj.read(options_file)<EOL>for section in config_obj.sections():<EOL><INDENT>rule_strings, kwargs = get_rule_strings(config_obj, section)<EOL>for (key, val) in rule_strings.iteritems():<EOL><INDENT>set_sla(obj, section, key, val)<EOL><DEDENT><DEDENT>
Helper function to parse diff config file, which contains SLA rules for diff comparisons