From 3bfe532fb947f1b91312fdfbdefee9c3cc4aa658 Mon Sep 17 00:00:00 2001 From: "mnissler@chromium.org" Date: Fri, 3 Sep 2010 09:11:49 +0000 Subject: 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 --- tools/sync-webkit-git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/sync-webkit-git.py') 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'] -- cgit v1.1