mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
remove explicit close
This commit is contained in:
parent
d9e8dfa6b4
commit
780d348bbc
1 changed files with 0 additions and 1 deletions
|
@ -5570,7 +5570,6 @@ def keyvalue(
|
|||
try:
|
||||
with salt.utils.files.fopen(name, "r") as fd:
|
||||
file_contents = fd.readlines()
|
||||
fd.close()
|
||||
except FileNotFoundError as exc:
|
||||
if create_if_missing:
|
||||
append_if_not_found = True
|
||||
|
|
Loading…
Add table
Reference in a new issue