summaryrefslogtreecommitdiffstats
path: root/tools/sync-webkit-git.py
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 09:11:49 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-03 09:11:49 +0000
commit3bfe532fb947f1b91312fdfbdefee9c3cc4aa658 (patch)
treeace9e4fc5bbc5364c25524f7603f707cbabffe88 /tools/sync-webkit-git.py
parente326922daea12d085dc61eec267148e284a1bb0e (diff)
downloadchromium_src-3bfe532fb947f1b91312fdfbdefee9c3cc4aa658.zip
chromium_src-3bfe532fb947f1b91312fdfbdefee9c3cc4aa658.tar.gz
chromium_src-3bfe532fb947f1b91312fdfbdefee9c3cc4aa658.tar.bz2
Fix Var() syntax support.
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
Diffstat (limited to 'tools/sync-webkit-git.py')
-rwxr-xr-xtools/sync-webkit-git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sync-webkit-git.py b/tools/sync-webkit-git.py
index a123ea2..e422650 100755
--- a/tools/sync-webkit-git.py
+++ b/tools/sync-webkit-git.py
@@ -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']