summaryrefslogtreecommitdiffstats
path: root/src/linux/ogOperations.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-02-05 13:41:34 +0100
committerAlvaro Neira Ayuso <aneira@soleta.eu>2020-02-05 16:49:42 +0100
commit1fd9f2e07c8a60860faa013699b85507824e4020 (patch)
treed08f728569d63377de586507b6fb2549698f26cc /src/linux/ogOperations.py
parent1c236b4548ec8ac9511e6c608179a2baed850a12 (diff)
Use 'with' keyword for file reading
This is applied to /software and /hardware file reads. We should use 'with' instead of opening and closing a file since this prevents that files stay open after an exception is raised.
Diffstat (limited to 'src/linux/ogOperations.py')
0 files changed, 0 insertions, 0 deletions