mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50: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
|
@ -97,7 +97,7 @@ def get_current(module):
|
|||
output = run_commands(module, ({'command': cmd[0], 'output': 'text'},
|
||||
{'command': cmd[1], 'output': 'text'}))
|
||||
|
||||
match = re.search("^ntp master(?: (\d+))", output[0], re.M)
|
||||
match = re.search(r"^ntp master(?: (\d+))", output[0], re.M)
|
||||
if match:
|
||||
master = True
|
||||
stratum = match.group(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue