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)