metadata: treats CPEPrefix "unknown" as None
This CL changes CPEPrefix field to return None for the validate field accessor. There's little reason to return a special "unknown" string in property accessor (which is used for tooling automation). We still allow specifying "unknown" in that field. Bug: b/321154076 Change-Id: Ib4cbc017d6b6df179ccfb008bd5ec9477913764b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5465016 Reviewed-by: Anne Redulla <aredulla@google.com> Commit-Queue: Jiewei Qian <qjw@chromium.org>changes/16/5465016/2
parent
e4dca3ff60
commit
bba165a25c
Loading…
Reference in New Issue