Fix interfaces_file to accept allow-* (#37847)

pull/27263/merge
Ed Schaller 6 years ago committed by John R Barker
parent c3c30440f8
commit 5ac41ee8d8

@ -219,7 +219,7 @@ def read_interfaces_lines(module, line_strings):
elif words[0] == "auto":
lines.append(lineDict(line))
currently_processing = "NONE"
elif words[0] == "allow-":
elif words[0].startswith("allow-"):
lines.append(lineDict(line))
currently_processing = "NONE"
elif words[0] == "no-auto-down":

Loading…
Cancel
Save