aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalud Lemus <saludlemus@google.com>2019-08-28 12:12:20 -0700
committerManoj Gupta <manojgupta@chromium.org>2019-08-28 19:20:50 +0000
commit9c53f59321c179f0ce49cf683fda124bf5f41c3b (patch)
tree9649f651104af5a540b8550e7ec0534c59e673e1
parentffed65d0ef812e34bca994c6bdf80cc21c337bdf (diff)
downloadtoolchain-utils-9c53f59321c179f0ce49cf683fda124bf5f41c3b.tar.gz
LLVM tools: Fixed unreferenced error
BUG=None TEST=Ran 'update_packages_and_run_tryjobs.py' with google3 option. Change-Id: I200b53239c9a557f59e94be7b2b4d0ee8e6cffb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1775022 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: Manoj Gupta <manojgupta@chromium.org>
-rwxr-xr-xllvm_tools/get_llvm_hash.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_tools/get_llvm_hash.py b/llvm_tools/get_llvm_hash.py
index 3a0df8fe..8ef46f6d 100755
--- a/llvm_tools/get_llvm_hash.py
+++ b/llvm_tools/get_llvm_hash.py
@@ -203,8 +203,8 @@ def GetLLVMHashAndVersionFromSVNOption(svn_option):
else:
llvm_version = GetGoogle3LLVMVersion()
- new_llvm_hash.GetGitHashForVersion(GetAndUpdateLLVMProjectInLLVMTools(),
- llvm_version)
+ llvm_hash = new_llvm_hash.GetGitHashForVersion(
+ GetAndUpdateLLVMProjectInLLVMTools(), llvm_version)
return llvm_hash, llvm_version