diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2020-03-02 18:53:29 +0000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2020-03-02 20:33:54 +0000 |
commit | 60152068147bb90df21b9f9314dc318d718fe517 (patch) | |
tree | 283e19b4288c3d4a6d052e548236928410e6a403 /automated/linux/ota-update | |
parent | a85631aa4ab6eda07cb306b0c86c5bc58ec77d5c (diff) |
fixed sanity-check warnings
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'automated/linux/ota-update')
-rw-r--r-- | automated/linux/ota-update/ota-update.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/automated/linux/ota-update/ota-update.py b/automated/linux/ota-update/ota-update.py index 9668f922..399c67df 100644 --- a/automated/linux/ota-update/ota-update.py +++ b/automated/linux/ota-update/ota-update.py @@ -42,6 +42,7 @@ def match_sha_on_server(sha): print "FAIL: Installed sha on device did not match" return -1 + if match_sha_on_server(args.installed_sha) == 0: py_test_lib.add_result(RESULT_FILE, "installed-device-sha-match-server pass") r = requests.put(url, data=data, headers=headers) |