From 67a1a74d7ea6c0481070f5628510a46bb4ffadd0 Mon Sep 17 00:00:00 2001 From: "mazda@chromium.org" Date: Tue, 13 Jul 2010 16:37:15 +0000 Subject: [PATCH] Fix gclient.py so that save_pinned_deps works. Chromium OS continuous builds are failing because of the following error. Traceback (most recent call last): File "/b/depot_tools/gclient.py", line 1212, in sys.exit(Main(sys.argv[1:])) File "/b/depot_tools/gclient.py", line 1202, in Main return command(parser, argv[1:]) File "/b/depot_tools/gclient.py", line 1122, in CMDrevinfo client.PrintRevInfo() File "/b/depot_tools/gclient.py", line 776, in PrintRevInfo url = entries.pop(name) KeyError: 'chromiumos' This change will fix the error. TEST=none BUG=none Review URL: http://codereview.chromium.org/2892007 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52180 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gclient.py b/gclient.py index 788b96b92..bc912f312 100644 --- a/gclient.py +++ b/gclient.py @@ -767,10 +767,6 @@ solutions = [ url = deps[d].GetUrl(d, sub_deps_base_url, self.root_dir(), sub_deps) entries[d] = GetURLAndRev(d, url) - # Build the snapshot configuration string - if self._options.snapshot: - url = entries.pop(name) - # Build the snapshot configuration string if self._options.snapshot: url = entries.pop(name)