Commit e8c28623 authored by maruel@chromium.org's avatar maruel@chromium.org

Fix "local variable 'url' referenced before assignment" error.

TBR=dpranke@chromium.org
BUG=
TEST=

Review URL: http://codereview.chromium.org/6792050

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@80452 0039d316-1c4b-4281-b951-d872f2087c98
parent 3ed3e5e4
......@@ -217,6 +217,7 @@ class GIT(object):
# The -100 is an arbitrary limit so we don't search forever.
cmd = ['git', 'log', '-100', '--pretty=medium']
proc = gclient_utils.Popen(cmd, stdout=subprocess.PIPE)
url = None
for line in proc.stdout:
match = git_svn_re.match(line)
if match:
......
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