Commit a948bc11 authored by Matt Traudt's avatar Matt Traudt
Browse files

Remove unused function

parent 9ee9fe86
......@@ -268,18 +268,6 @@ def _validate_section_keys(conf, sec, keys, tmpl):
return errors
def _validate_section_enums(conf, sec, enums, tmpl):
errors = []
section = conf[sec]
for key in enums:
valid = enums[key]['valid']
if section[key] not in valid:
errors.append(tmpl.substitute(
sec=sec, key=key, val=section[key],
e='Must be one of {}'.format(valid)))
return errors
def _validate_section_ints(conf, sec, ints, tmpl):
errors = []
section = conf[sec]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment