commit | ce8cacdd515bf7270daef62648d5f994f111cded | [log] [tgz] |
---|---|---|
author | John Kacur <jkacur@redhat.com> | Thu Dec 02 16:52:10 2021 -0500 |
committer | John Kacur <jkacur@redhat.com> | Thu Dec 02 16:52:10 2021 -0500 |
tree | 9fded530439725d8756c06b9c5aa05676fc6e5e8 | |
parent | 2285fc015b849e3266826995c38dd8bf72fb22a0 [diff] |
python-linux-procfs: Various clean-ups - Replace f=open with 'with' (context managers), except in try-except blocks - Reformat lines that are too long, especially in comments - Use min() instead of if construct - Use bool instead of complicated and True or False constructs - Reorder imports Signed-off-by: John Kacur <jkacur@redhat.com>