Tools: extract_features.py: correct python warning
This commit is contained in:
parent
863b8dc84a
commit
57e28092f3
@ -149,9 +149,13 @@ class ExtractFeatures(object):
|
|||||||
'''swiped from build_binaries.py'''
|
'''swiped from build_binaries.py'''
|
||||||
if show_output:
|
if show_output:
|
||||||
self.progress("Running (%s)" % " ".join(cmd_list))
|
self.progress("Running (%s)" % " ".join(cmd_list))
|
||||||
p = subprocess.Popen(cmd_list, bufsize=1, stdin=None,
|
p = subprocess.Popen(
|
||||||
stdout=subprocess.PIPE, close_fds=True,
|
cmd_list,
|
||||||
stderr=subprocess.STDOUT, env=env)
|
stdin=None,
|
||||||
|
stdout=subprocess.PIPE,
|
||||||
|
close_fds=True,
|
||||||
|
stderr=subprocess.STDOUT,
|
||||||
|
env=env)
|
||||||
output = ""
|
output = ""
|
||||||
while True:
|
while True:
|
||||||
x = p.stdout.readline()
|
x = p.stdout.readline()
|
||||||
|
Loading…
Reference in New Issue
Block a user