forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Perf] Python 3 migration: Fix -v option
Some Python scripts check the -v option with "options.verbosity >= 2". When -v is not specified, options.verbosity equals None. With Python 2, "None >= 2" is allowed and returns False, but in Python 3 it throws a TypeError. This is fixed by setting options.verbosity to default to 0. Bug: 1199156 Change-Id: Ia9c360388b787e5fac65bc59ab6669fea86d99d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2838549 Auto-Submit: John Chen <johnchen@chromium.org> Commit-Queue: Wenbin Zhang <wenbinzhang@google.com> Reviewed-by: Wenbin Zhang <wenbinzhang@google.com> Cr-Commit-Position: refs/heads/master@{#874356}
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters