Skip to content

Commit

Permalink
Fix Var() syntax support.
Browse files Browse the repository at this point in the history
BUG=none
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58465 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
mnissler@chromium.org committed Sep 3, 2010
1 parent e326922 commit 3bfe532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sync-webkit-git.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def GetGClientBranchName():

def GetWebKitRev():
"""Extract the 'webkit_revision' variable out of DEPS."""
locals = {'Var': lambda _: ''}
locals = {'Var': lambda _: locals["vars"][_]}
execfile('DEPS', {}, locals)
return locals['vars']['webkit_revision']

Expand Down

0 comments on commit 3bfe532

Please sign in to comment.