mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
Fix anomalous backslashes and enable pylint test.
This commit is contained in:
parent
9735a70059
commit
c6bb6c72cc
30 changed files with 76 additions and 77 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue