diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2020-07-10 00:18:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 14:18:21 -0700 |
commit | c22a5b6db9dfd2b685763caab6ca9af8e90b63df (patch) | |
tree | af01f56f0703d150c3dde50bb8ff2a952e2aff7c | |
parent | 2816e8729c137cab0609d33ae8b66d874f175128 (diff) | |
download | oss-fuzz-c22a5b6db9dfd2b685763caab6ca9af8e90b63df.tar.gz |
utils: ignore subprocess-run-check (#4102)
"check" is omitted intentionally there.
A follow-up to https://github.com/google/oss-fuzz/pull/4101
-rw-r--r-- | infra/utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/infra/utils.py b/infra/utils.py index 4685c6030..1cde40114 100644 --- a/infra/utils.py +++ b/infra/utils.py @@ -93,8 +93,9 @@ def get_container_name(): Returns: Container name or None if not in a container. """ - result = subprocess.run(['systemd-detect-virt', '-c'], - stdout=subprocess.PIPE).stdout + result = subprocess.run( # pylint: disable=subprocess-run-check + ['systemd-detect-virt', '-c'], + stdout=subprocess.PIPE).stdout if b'docker' not in result: return None with open('/etc/hostname') as file_handle: |