Fix invalid string escape sequences.

This commit is contained in:
Matt Clay 2017-11-20 19:08:30 -08:00
commit e45c763b64
48 changed files with 77 additions and 77 deletions

View file

@ -121,7 +121,7 @@ class GenericBsdIfconfigNetwork(Network):
if words[0] == 'pass':
continue
elif re.match('^\S', line) and len(words) > 3:
elif re.match(r'^\S', line) and len(words) > 3:
current_if = self.parse_interface_line(words)
interfaces[current_if['device']] = current_if
elif words[0].startswith('options='):