Skip to content

Commit

Permalink
Removed an unused assignment in file.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
piterpunk authored and dwoz committed Dec 10, 2023
1 parent e681745 commit 913c0f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions changelog/57204.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed an unused assignment in file.patch
2 changes: 0 additions & 2 deletions salt/states/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -7165,8 +7165,6 @@ def patch(
)
return ret

options = sanitized_options

try:
source_match = __salt__["file.source_list"](source, source_hash, __env__)[0]
except CommandExecutionError as exc:
Expand Down

0 comments on commit 913c0f7

Please sign in to comment.