summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-03-11 14:23:39 +1100
committerDamien George <damien.p.george@gmail.com>2020-03-11 14:23:39 +1100
commit554c01fc256640b9e88578b9d0310b53a8786fef (patch)
treedc454cdd5066fbc762c005fcf808b4e35f108688
parent7bf62562cee7e5a01eb013447a0c3f4d3d271cab (diff)
downloadmicropython-554c01fc256640b9e88578b9d0310b53a8786fef.tar.gz
micropython-554c01fc256640b9e88578b9d0310b53a8786fef.zip
tools/metrics.py: Use check_call instead of run to error out on error.
-rwxr-xr-xtools/metrics.py2
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):