aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-01-28 09:49:29 +0100
committerPavel Moravec <pmoravec@redhat.com>2020-01-28 09:52:39 +0100
commitf867f783d333679ad871c77b473bd4e6a258ab4a (patch)
tree6fd57bcb52f14844262b4f1c8efdddcf97abd389 /po
parentf6645b43e6f46611696049cc28481d2522cfe259 (diff)
parenta5828cc806cc8a5b89aaac808ed1e8c7a60fa941 (diff)
downloadsos-f867f783d333679ad871c77b473bd4e6a258ab4a.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> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions