diff options
author | John Snow <jsnow@redhat.com> | 2021-05-27 17:16:46 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2021-06-01 16:21:21 -0400 |
commit | 07b71233a7ea77c0ec3687c3a3451865b3b899d3 (patch) | |
tree | b29237208f7239a1dc9c4d5323bedefdacdf95fd /configure | |
parent | ee1a27235b7965bc5514555eec898f4d067fced2 (diff) |
python/machine: use subprocess.DEVNULL instead of open(os.path.devnull)
One less file resource to manage, and it helps quiet some pylint >=
2.8.0 warnings about not using a with-context manager for the open call.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20210527211715.394144-3-jsnow@redhat.com
Message-id: 20210517184808.3562549-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions