Using different var name for scheduler loop

This commit is contained in:
Sergio Durigan Junior 2016-03-15 18:29:50 -04:00
parent 6c86aad971
commit 749daca458

View file

@ -961,10 +961,10 @@ def load_config (c):
if "change_filter" in s:
s['change_filter'] = globals ()[s['change_filter']]
kls = globals ()[s.pop ('type')]
s = dict (map (lambda key_value_pair : (str (key_value_pair[0]),
d = dict (map (lambda key_value_pair : (str (key_value_pair[0]),
key_value_pair[1]),
s.items ()))
c['schedulers'].append (kls (**s))
c['schedulers'].append (kls (**d))
c['builders'] = []
for b in config['builders']: