mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-07 00:46:00 +00:00
Pylint: explicitly note why we're doing an unchecked subprocess.run
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
1759602b29
commit
e0c84ac4d2
|
@ -92,6 +92,7 @@ def list_presets(options):
|
||||||
return re.split(r'[ ,]+', options.presets)
|
return re.split(r'[ ,]+', options.presets)
|
||||||
else:
|
else:
|
||||||
help_text = subprocess.run([options.script, '--help'],
|
help_text = subprocess.run([options.script, '--help'],
|
||||||
|
check=False, # config.pl --help returns 255
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT).stdout
|
stderr=subprocess.STDOUT).stdout
|
||||||
return guess_presets_from_help(help_text.decode('ascii'))
|
return guess_presets_from_help(help_text.decode('ascii'))
|
||||||
|
|
Loading…
Reference in a new issue