mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
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'''
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user