mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Removes to early content stripping (stripping is allready done when needed with ident:true), fixes #39220
This commit is contained in:
parent
a4b169e0bd
commit
e8a41d6341
1 changed files with 0 additions and 1 deletions
|
@ -1598,7 +1598,6 @@ def line(path, content, match=None, mode=None, location=None,
|
|||
elif mode == 'ensure':
|
||||
after = after and after.strip()
|
||||
before = before and before.strip()
|
||||
content = content and content.strip()
|
||||
|
||||
if before and after:
|
||||
_assert_occurrence(body, before, 'before')
|
||||
|
|
Loading…
Add table
Reference in a new issue