Do not set some options for Try_Jobdir sched

This commit is contained in:
Sergio Durigan Junior 2016-07-22 19:01:46 -04:00
parent 192c5a8bb2
commit f466dc3483

View file

@ -1000,10 +1000,10 @@ def load_config (c):
c['schedulers'] = []
for s in config['schedulers']:
# Ugh :-/. There should be no special case here...
if s['type'] != 'Nightly':
if s['type'] != 'Nightly' and s['type'] != 'Try_Jobdir':
s['treeStableTimer'] = None
s['fileIsImportant'] = DefaultGDBfileIsImportant
else:
elif s['type'] == 'Nightly':
try:
s['dayOfWeek'] = int (s['dayOfWeek'])
except: