mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 16:53:45 +08:00
patches (#582)
* selfdrive: add sys module to exit call exit() is a helper for interactive shell. Let's explicit use the module sys. * selfdrive: tomstoned.py use constant for /data/tombstones/ Instead of use multiple times a string for the data dir, use a variable.
This commit is contained in:
committed by
rbiasini
parent
f74a201edc
commit
5a9d89ed42
@@ -39,7 +39,7 @@ if __name__ == "__main__":
|
||||
port = int(m)
|
||||
else:
|
||||
print("service not found")
|
||||
exit(-1)
|
||||
sys.exit(-1)
|
||||
sock = messaging.sub_sock(context, port, poller, addr=args.addr)
|
||||
if args.proxy:
|
||||
republish_socks[sock] = messaging.pub_sock(context, port)
|
||||
|
||||
Reference in New Issue
Block a user