diff options
author | Damien George <damien.p.george@gmail.com> | 2020-03-11 14:23:39 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-11 14:23:39 +1100 |
commit | 554c01fc256640b9e88578b9d0310b53a8786fef (patch) | |
tree | dc454cdd5066fbc762c005fcf808b4e35f108688 | |
parent | 7bf62562cee7e5a01eb013447a0c3f4d3d271cab (diff) | |
download | micropython-554c01fc256640b9e88578b9d0310b53a8786fef.tar.gz micropython-554c01fc256640b9e88578b9d0310b53a8786fef.zip |
tools/metrics.py: Use check_call instead of run to error out on error.
-rwxr-xr-x | tools/metrics.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/metrics.py b/tools/metrics.py index 5f1560287f..ffc20befef 100755 --- a/tools/metrics.py +++ b/tools/metrics.py @@ -78,7 +78,7 @@ def syscmd(*args): a2.append(a) elif a: a2.extend(a) - subprocess.run(a2) + subprocess.check_call(a2) def parse_port_list(args): |