Commit cc56ee4c authored by ilevy@chromium.org's avatar ilevy@chromium.org

Fix pylint presubmit failure

Caused by crrev.com/210695

TBR=maruel@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19027002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210949 0039d316-1c4b-4281-b951-d872f2087c98
parent 6a0b07c1
......@@ -90,10 +90,10 @@ def RunGitWithCode(args):
def IsGitVersionAtLeast(min_version):
PREFIX='git version '
prefix = 'git version '
version = RunGit(['--version']).strip()
return (version.startswith(PREFIX) and
LooseVersion(version[len(PREFIX):]) >= LooseVersion(min_version))
return (version.startswith(prefix) and
LooseVersion(version[len(prefix):]) >= LooseVersion(min_version))
def usage(more):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment