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
experimental/szager/collated-output
mazda@chromium.org 15 years ago
parent 6f71d093d9
commit 67a1a74d7e

@ -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)

Loading…
Cancel
Save