mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 14:58:54 +08:00
IDL 2 RIHS01 remove tempfile and print
This commit is contained in:
committed by
Beat Küng
parent
796efeebe7
commit
4aff095f9b
@@ -83,10 +83,8 @@ if __name__ == '__main__':
|
||||
interface_file = str(pathlib.Path(interface_file)).replace("px4/msg", "px4:msg")
|
||||
idl_files.append(interface_file)
|
||||
|
||||
json_file = tempfile.NamedTemporaryFile(mode="w+",delete=False)
|
||||
json_file = tempfile.NamedTemporaryFile(mode="w+")
|
||||
json.dump(type_hash_arguments, json_file)
|
||||
json_file.flush()
|
||||
|
||||
print(json_file.name)
|
||||
|
||||
generate_type_hash(json_file.name)
|
||||
|
||||
Reference in New Issue
Block a user