mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix erroneous report on newline code
This commit is contained in:
parent
75b6ed1fd5
commit
2479b53e2f
1 changed files with 1 additions and 0 deletions
|
@ -3519,6 +3519,7 @@ def append(name,
|
|||
|
||||
with salt.utils.fopen(name, 'rb') as fp_:
|
||||
slines = fp_.readlines()
|
||||
slines = [item.rstrip() for item in slines]
|
||||
|
||||
append_lines = []
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue