autotest: fixed default frame type in sim_vehicle.py

This commit is contained in:
Andrew Tridgell 2017-06-02 16:53:55 +10:00
parent aa9891fe59
commit 228cba2524
1 changed files with 2 additions and 2 deletions

View File

@ -235,7 +235,7 @@ class VehicleInfo(object):
if frame.endswith("-heli"):
ret = self.options[vehicle]["frames"]["heli"]
if ret is None:
progress("WARNING: no config for frame (%s)" % frame)
print("WARNING: no config for frame (%s)" % frame)
ret = {}
if "model" not in ret:
@ -254,7 +254,7 @@ class VehicleInfo(object):
ret["make_target"] = "sitl"
if "waf_target" not in ret:
ret["waf_target"] = default_waf_target(vehicle)
ret["waf_target"] = self.default_waf_target(vehicle)
if opts.build_target is not None:
ret["make_target"] = opts.build_target