Add the possibility to keep several version of the VS toolchain.

BUG=

Review URL: https://codereview.chromium.org/1634923002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298557 0039d316-1c4b-4281-b951-d872f2087c98
parent c8b8c312
This diff is collapsed.
......@@ -270,7 +270,7 @@ def RenameToSha1(output):
os.path.join(old_dir, output), 'r', zipfile.ZIP_DEFLATED, True) as zf:
zf.extractall(rel_dir)
print 'Hashing...'
sha1 = get_toolchain_if_necessary.CalculateHash(rel_dir)
sha1 = get_toolchain_if_necessary.CalculateHash(rel_dir, None)
os.chdir(old_dir)
shutil.rmtree(tempdir)
final_name = sha1 + '.zip'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment