change elif to if for matching CMakeLists.txt

This commit is contained in:
pigeons 2017-01-01 11:04:08 -08:00
parent b0746cbc9f
commit dbcebd59a3

View file

@ -76,7 +76,7 @@ def startCompile(change):
if fn.endswith('.asc') or fn.endswith('.md') or fn.endswith('.txt'):
compile = False
# don't ignore changes to CMakeLists.txt files
elif re.match('CMakeLists.txt', fn):
if re.match('CMakeLists.txt', fn):
compile = True
else:
return True