diff options
author | Damien George <damien.p.george@gmail.com> | 2019-04-26 15:22:14 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-04-26 15:22:14 +1000 |
commit | 0646e607b537b43901db53c743ec2011a375f5e2 (patch) | |
tree | c5049313f11beabef7936d1ec264f0416cdee6d0 /tests/basics/subclass_native_call.py | |
parent | 06a532c227c2f37fc190deb84970fdfeaaf37d6a (diff) |
ports: Convert to use pyexec_file_if_exists() to execute boot/main.py.
The stm32 and nrf ports already had the behaviour that they would first
check if the script exists before executing it, and this patch makes all
other ports work the same way. This helps when developing apps because
it's hard to tell (when unconditionally trying to execute the scripts) if
the resulting OSError at boot up comes from missing boot.py or main.py, or
from some other error. And it's not really an error if these scripts don't
exist.
Diffstat (limited to 'tests/basics/subclass_native_call.py')
0 files changed, 0 insertions, 0 deletions