mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Set flags=8
since now the file is read as a MULTILINE string by default
This commit is contained in:
parent
89e8dcdffd
commit
b25e609e9e
2 changed files with 3 additions and 3 deletions
|
@ -1278,7 +1278,7 @@ def replace(path,
|
|||
pattern,
|
||||
repl,
|
||||
count=0,
|
||||
flags=0,
|
||||
flags=8,
|
||||
bufsize=1,
|
||||
append_if_not_found=False,
|
||||
prepend_if_not_found=False,
|
||||
|
@ -1798,7 +1798,7 @@ def blockreplace(path,
|
|||
|
||||
def search(path,
|
||||
pattern,
|
||||
flags=0,
|
||||
flags=8,
|
||||
bufsize=1,
|
||||
):
|
||||
'''
|
||||
|
|
|
@ -2431,7 +2431,7 @@ def replace(name,
|
|||
pattern,
|
||||
repl,
|
||||
count=0,
|
||||
flags=0,
|
||||
flags=8,
|
||||
bufsize=1,
|
||||
append_if_not_found=False,
|
||||
prepend_if_not_found=False,
|
||||
|
|
Loading…
Add table
Reference in a new issue