Tools: extract_features.py: correct python warning

This commit is contained in:
Peter Barker 2022-10-06 11:51:11 +11:00 committed by Peter Barker
parent 863b8dc84a
commit 57e28092f3

View File

@ -149,9 +149,13 @@ class ExtractFeatures(object):
'''swiped from build_binaries.py'''
if show_output:
self.progress("Running (%s)" % " ".join(cmd_list))
p = subprocess.Popen(cmd_list, bufsize=1, stdin=None,
stdout=subprocess.PIPE, close_fds=True,
stderr=subprocess.STDOUT, env=env)
p = subprocess.Popen(
cmd_list,
stdin=None,
stdout=subprocess.PIPE,
close_fds=True,
stderr=subprocess.STDOUT,
env=env)
output = ""
while True:
x = p.stdout.readline()