diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-12-23 15:59:11 -0500 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-01-09 13:20:12 -0500 |
commit | a5828cc806cc8a5b89aaac808ed1e8c7a60fa941 (patch) | |
tree | 47b862d535957d19db5dd3f7ce0b27d06157c533 /pylintrc | |
parent | 2224137c2b6e7931f2bb8bb8c48c414a7fa023f1 (diff) | |
download | sos-a5828cc806cc8a5b89aaac808ed1e8c7a60fa941.tar.gz |
[Policy] Wrap json.load() in with clause
Wraps `json.load()` from preset loading in a `with` statement to ensure
that file objects are properly closed.
Closes: #1322
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'pylintrc')
0 files changed, 0 insertions, 0 deletions