mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
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 <module>
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user