Fix warning - is keyword only applies to literals

This commit is contained in:
Pratyush Das 2019-12-13 19:11:00 +05:30 committed by SFT
parent 334ac32e25
commit ba5b08c837

View File

@ -2347,7 +2347,7 @@ if args['last_stable']:
tag = str(tag)
# FIXME
assert tag[0] is "v"
assert tag[0] == "v"
assert CLING_BRANCH == None
llvm_revision = urlopen(
'https://raw.githubusercontent.com/root-project/cling/%s/LastKnownGoodLLVMSVNRevision.txt' % tag