diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2020-06-10 19:40:21 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2020-06-10 19:40:21 +0100 |
commit | 9fe8f85ed184f5dc8f4c9b2c66b50776b0224068 (patch) | |
tree | 5dd41b031445f65279b11a1d0e11df5372daa562 /squad_client | |
parent | 5d2a85911872a9927e1fedf3b772f31d4f27fb33 (diff) |
shortcuts: return exit code of submit operation
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'squad_client')
-rw-r--r-- | squad_client/shortcuts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/squad_client/shortcuts.py b/squad_client/shortcuts.py index 812293a..869265f 100644 --- a/squad_client/shortcuts.py +++ b/squad_client/shortcuts.py @@ -78,4 +78,4 @@ def submit_results(group_project_slug=None, build_version=None, env_slug=None, t metric.result = metrics[metric_name] testrun.add_metric(metric) - testrun.submit_results() + return testrun.submit_results() |