-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix erroneous report on newline code
- Loading branch information
Showing
1 changed file
with
1 addition
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lorengordon
Contributor
|
||
|
||
append_lines = [] | ||
try: | ||
|
I think this line is causing #35121, the line that is marked as change has a whitespace at the end.