mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix anomalous backslashes and enable pylint test.
This commit is contained in:
@@ -418,7 +418,7 @@ class MPLS(FactsBase):
|
||||
path['up'] = True if match.group(1) == 'UP' else False
|
||||
path['name'] = None
|
||||
if path['up']:
|
||||
match = re.search('bypass_lsp: (\S)', data, re.M)
|
||||
match = re.search(r'bypass_lsp: (\S)', data, re.M)
|
||||
path['name'] = match.group(1) if match else None
|
||||
return path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user