Fix check for string equality

This commit is contained in:
Sergio Durigan Junior 2016-03-15 18:34:25 -04:00
parent 749daca458
commit 1ebc908ed0

View file

@ -949,7 +949,7 @@ def load_config (c):
c['schedulers'] = []
for s in config['schedulers']:
# Ugh :-/. There should be no special case here...
if s['type'] is not 'Nightly':
if s['type'] != 'Nightly':
s['treeStableTimer'] = None
s['fileIsImportant'] = DefaultGDBfileIsImportant
else: