mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -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
|
@ -72,7 +72,7 @@ PARAM_TO_COMMAND_KEYMAP = {
|
|||
def get_value(config, module):
|
||||
splitted_config = config.splitlines()
|
||||
value_list = []
|
||||
REGEX = '^router ospf\s(?P<ospf>\S+).*'
|
||||
REGEX = r'^router ospf\s(?P<ospf>\S+).*'
|
||||
for line in splitted_config:
|
||||
value = ''
|
||||
if 'router ospf' in line:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue