diff options
author | dilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-03 11:47:05 +0000 |
---|---|---|
committer | dilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-03 11:47:05 +0000 |
commit | 74920a42c977c884df5c72444eb95209eddd1db9 (patch) | |
tree | 2886c3adfa9b4ed8cdb168e2242b06a003937ac8 /build/util | |
parent | 822ce196d987e414ea0475dd75bf9eb94b78e017 (diff) | |
download | chromium_src-74920a42c977c884df5c72444eb95209eddd1db9.zip chromium_src-74920a42c977c884df5c72444eb95209eddd1db9.tar.gz chromium_src-74920a42c977c884df5c72444eb95209eddd1db9.tar.bz2 |
Added check for None missed in recent commit.
Reported by fta At sofaraway.org
BUG=None
TEST=None
TBR=evan@chromium.org
Review URL: http://codereview.chromium.org/6610013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/util')
-rwxr-xr-x | build/util/lastchange.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/util/lastchange.py b/build/util/lastchange.py index e213d8b..75176f0 100755 --- a/build/util/lastchange.py +++ b/build/util/lastchange.py @@ -115,7 +115,9 @@ def IsGitSVN(directory): # svn-related configuration. This command exits with an error code # if there aren't any matches, so ignore its output. proc = RunGitCommand(directory, ['config', '--get-regexp', '^svn']) - return (proc.wait() == 0) + if proc: + return (proc.wait() == 0) + return false def FetchGitSVNURL(directory): |