[LNT] r211706 - Correct r211148 - we should be resetting cc_src_branch to "", not None.
James Molloy
james.molloy at arm.com
Wed Jun 25 08:27:49 PDT 2014
Author: jamesm
Date: Wed Jun 25 10:27:49 2014
New Revision: 211706
URL: http://llvm.org/viewvc/llvm-project?rev=211706&view=rev
Log:
Correct r211148 - we should be resetting cc_src_branch to "", not None.
Modified:
lnt/trunk/lnt/testing/util/compilers.py
Modified: lnt/trunk/lnt/testing/util/compilers.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/testing/util/compilers.py?rev=211706&r1=211705&r2=211706&view=diff
==============================================================================
--- lnt/trunk/lnt/testing/util/compilers.py (original)
+++ lnt/trunk/lnt/testing/util/compilers.py Wed Jun 25 10:27:49 2014
@@ -135,7 +135,7 @@ def get_cc_info(path, cc_flags=[]):
# With a CMake build, the branch is not emitted.
if cc_src_branch and not cc_src_revision and cc_src_branch.isdigit():
cc_src_revision = cc_src_branch
- cc_src_branch = None
+ cc_src_branch = ""
# These show up with git-svn.
if cc_src_branch == '$URL$':
@@ -172,7 +172,7 @@ def get_cc_info(path, cc_flags=[]):
# With a CMake build, the branch is not emitted.
if cc_src_branch and not cc_src_revision and cc_src_branch.isdigit():
cc_alt_src_revision = cc_alt_src_branch
- cc_alt_src_branch = None
+ cc_alt_src_branch = ""
else:
error('unable to determine Clang development build info: %r' % (
More information about the llvm-commits
mailing list