commit | a9eae8220af68b2ea064a152b27866a7b0c6674c | [log] [tgz] |
---|---|---|
author | Ramya Gopalan <ramyagopalan@google.com> | Wed Dec 22 18:16:38 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 22 18:16:38 2021 |
tree | 6353218134fed714c757e689af88c92ff031a0d4 | |
parent | 20b7b26492674cedacbb37f82f4440c2dd538331 [diff] |
Fixing ValueError. This is a follow-up cl to crrev.com/c/3351407. This should fix the build failure in http://shortn/_aS66mHNc4W based on the error: http://shortn/_Os057pWryA. Change-Id: I3d0c8ef10af41f5834cac5fb637ff70cf0c3a007 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3353178 Reviewed-by: John Chen <johnchen@chromium.org> Commit-Queue: Ramya Gopalan <ramyagopalan@google.com> Cr-Commit-Position: refs/heads/main@{#953587}
diff --git a/testing/scripts/test_traffic_annotation_auditor.py b/testing/scripts/test_traffic_annotation_auditor.py index f48196a4..5400eb6 100755 --- a/testing/scripts/test_traffic_annotation_auditor.py +++ b/testing/scripts/test_traffic_annotation_auditor.py
@@ -63,7 +63,7 @@ if pattern.search(gn_args): return "chromeos" - except(valueError, OSError) as e: + except(ValueError, OSError) as e: logger.info(e) return None @@ -111,7 +111,7 @@ cleanup_file(config_filename) else: print("Test failed without updating the annotations sheet.") - except (valueError, OSError) as e: + except (ValueError, OSError) as e: print("Error updating the annotations sheet", e) finally: cleanup_file(annotations_filename)