commit | 1f99f4d27ca48c7b402366c13de2beb821d452fe | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jul 23 16:44:14 2014 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Jul 23 16:44:14 2014 |
tree | b4a5be23d20e8e52b5828ede0df329da19fca532 | |
parent | 6f9bc6eaec4053da0dc2727b297a4f9c9b897580 [diff] |
Fix bisect-builds.py crash when no bad build is given and GetSVNRevisionFromGitHash returns None. Script crashes with "TypeError: int() argument must be a string or a number, not 'NoneType'" message. The fix is to use 'raise ValueError' instead of returning None. BUG=None NOTRY=True Review URL: https://codereview.chromium.org/408253004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284953 0039d316-1c4b-4281-b951-d872f2087c98