mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00: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
|
@ -358,11 +358,11 @@ def get_igmp_interface(module, interface):
|
|||
staticoif = []
|
||||
if body:
|
||||
split_body = body.split('\n')
|
||||
route_map_regex = ('.*ip igmp static-oif route-map\s+'
|
||||
'(?P<route_map>\S+).*')
|
||||
prefix_source_regex = ('.*ip igmp static-oif\s+(?P<prefix>'
|
||||
'((\d+.){3}\d+))(\ssource\s'
|
||||
'(?P<source>\S+))?.*')
|
||||
route_map_regex = (r'.*ip igmp static-oif route-map\s+'
|
||||
r'(?P<route_map>\S+).*')
|
||||
prefix_source_regex = (r'.*ip igmp static-oif\s+(?P<prefix>'
|
||||
r'((\d+.){3}\d+))(\ssource\s'
|
||||
r'(?P<source>\S+))?.*')
|
||||
|
||||
for line in split_body:
|
||||
temp = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue